Even with UMQTT Installed micropython .py code is unable to connect or send data to any of the public Brokers e.g. HiveMQ and Emqx. I suspect that it is technically impossible to turn a pico W into a Wifi hotspot.