Of course you can test your app before publishing to stores.
For Apple it is called TestFlight. For Google there is also a way to test the app on the phone before publishing.
Here you can find the help docs on this subject: Publishing Apps - Adalo Resources