Building a test WP site

I'm not sure if this is possible, I can't see a way to do it.
BUT... is there a way to display a functioning live wp site and work on a test replacement site theme that is only viewable to admin until it is switched to live?