Sure, you can use a VPN if you want to spin up the instance and connect to it without having a domain. You can always open the instance of Nextcloud to the internet later, when you buy a domain.
Get a cheap .XYZ domain if you just want to experiment with spinning up a reverse proxy.
Take this with a huge grain of salt, but I remember hearing once that the eyes are kind of an external piece of the brain.