Is It possible to get a list of WiFi networks near the device?

Hi, everyone!

I’m trying to send a text information from the app to a ESP8266, using HTTP. This information is the SSID of my network and the password, so the ESP8266 could connect to it.

Obviously, the device gonna be connected to the network that the ESP8266 will provide, só it could send the HTTP.

The SSID (and password) will be inserted on a “prompt text”, right after a button being pressed. The problem is that i want to reduce the odds of the user to insert the SSID wrongly. So i would like to know if its possible to get a list of the local WiFi networks, so the user just need to select it’s network and it will automatically get the SSID to a variable.

Is it, some way, possible?

Thank you very much in advance.