Well, technically, yes, but the process is not so easy for newbies. To begin with, you should construct a free version and offer it to CMS users. When searching their admin dashboards for an item, people would notice and install your theme from the official WP repository search. When it collects many free installs and a good reputation, you should offer the premium version for sale.