I commonly see people use or want to use IP/~/username on shared servers.
I wouldn't recommend this is because you now created additional work that will be required to make the site live.
Instead, the way we could have avoided these extra steps is by using creating the domain as if it is live then, making an edit to your host file on your computer.
Note: This isn't a guide on how to make a host file edit. If you don't know where to start the following search query should get you started. https://duckduckgo.com/?q=how+to+make+a+host+file+edit