Is it Possible? Yes, with enough time and effort anything is possible. Is it a good idea? No, you should port your application to Mendix.
Mendix is a full-stack platform which offers development using an abstraction over code, it is not a cloud platform that you can use to deploy any web-app.