Yes you can use the docker build for that (at least for Azure): https://docs.mendix.com/developerportal/deploy/docker-deploy
With Mendix for private cloud and some kubernetes service you get one click deployment from the Mendix developer portal (without running a VM): https://docs.mendix.com/developerportal/deploy/private-cloud