Can I import a custom VM image in to Azure?

Yes, Custom images can be imported in to Azure. Make sure to follow the recommended preparatory steps to conform to prerequisites for running a VM in Azure. You might want to manually install the VM agent once the image is imported and the VM is created in Azure.

Follow the high steps in this article for custom import. Also, refer to License mobility for bringing in your own on-prem license to Azure here