Yes, you can hide the website until it’s ready for production in two ways:
1. The easy way to hide your WordPress website while you’re in development is to check the option “Discourage search engines from indexing this site” from Settings > Reading

2. Another way is to install a free maintenance plugin like https://wordpress.org/plugins/wp-maintenance-mode/

The plugin will let you customize the website, but it will be hidden for visitors and search engines.
One advantage of using the maintenance plugin is that you can collect emails until you finish the website and have users for email marketing when you start your business.