Yes this is possible using the version control features of Mendix. See https://www.mendix.com/evaluation-guide/app-lifecycle/develop/version-control/
For more details visit the documentation on this subject here: https://docs.mendix.com/refguide/version-control/