Is the allowed?

I was curious, is it allowed to sell a website template on themeforest made in photoshop and after a few weeks sell a flash website on flashden where the template is used in? Both files are created by yourself.