Yes, you can use the theme on a staging site to test and customize it. After you move the theme to the live site, you’ll have to remove the theme files from the test / staging site.