Have you seen this documentation: https://www.mendix.com/evaluation-guide/enterprise-capabilities/no-vendor-lockin
With the Mendix platform SDK you are able to migrate the model to other platforms: https://apidocs.rnd.mendix.com/modelsdk/latest/index.html