I personally have many WordPress site on localhost to try stuff, can be plugins, and even copied my live sites to localhosts too.
And if you want to explore WordPress before sign up in a webhosting company, I really recommend you to do this in your local computer first. Click this link, if you want to know I move a WP site to a new server in same domain.
After you are comfortable enough with WP, then you can transfer WordPress from localhost to server that you preferred. You can do this manually, and using plugin.
Read morePlugin to Transfer WordPress from Localhost to Server