Hi Harshraj,
Yes its possible to deploy in mendix on premise.
https://www.mendix.com/wp-content/uploads/Mendix-Security-for-Cloud-and-on-Premise-Deployment.pdf
https://www.mendix.com/cloud/
Yes, that is possible. More info can be found here:
https://docs.mendix.com/developerportal/deploy/on-premises-design/