Connect to the microcontroller directly from the world. Is this possible?

Yes if the ESP32 is connected to your network

You will need to open a port on your router to allow access to it from outside and redirect access to that port to the webserver on your ESP32

NOTE that this may not be a good idea as you are creating a hole in your router firewall