selling premium version of plugin in codecanyon

I want to develop a plugin that has two versions, free and premium. I want to publish the free version in the Worpress directory and sell the premium version on codecanyon. Is this possible?

Yes that is

Firstly, thank you for response. I am an exclusive seller. so I only have the right to sell on codecanyon. but I will NOT sell the SAME PREMIUM PRODUCT on different sites. one will be free, one will be paid, so there will be different products. Do I still have such a right in this situation?

Yes it is still ok