Yes. In fact I have a client that insists on doing this every time we add new features to his app.
So we make a copy, build the new features in the copy, publish that so he can test, then once he is happy we swap the URL’s over and delete the original.