Can Arduino Uno WiFi Rev 2 act as a WiFi access point?

I am interested in purchasing this Arduino Uno WiFi Rev2 for DIY project. I will be using it to connect to my home WiFi network.

But I want to use my Smartphone to specify the my home WiFi's SSID & password. To do that, I want to use the Arduino's on-board WiFi as an access point, connect to it with my SmartPhone, give it the credentials, then have the Arduino connect to the home WiFi using those credentials.

Can I do that? Is there any sample code showing me how to do it?

Yes, it can.

You might like this board better.

You could use Bluetooth to configure your board and then use WiFi to connect to your network. Or you use WiFi for both.