Multiple use of theme

I’d like buy some moodle theme. can i use it first for my test server, then for my production server?

Yes, you can setup the theme on test server before transferring to production server.
And, you should delete the theme from test server once your site is on production server.