Yes. Both Magento 1 and 2 are officially supported, and each has its own set of pros and cons. Which one would be best for you depends on your requirements.