Yes. Its is possible.
The main requirement for running Magento with Elasticsearch is that you would need to go for a VPS which has RAM greater than 8 GB.
As your Magento setup may also require custom PHP extensions/setup, please refer to the following answer for more details . https://n99panel.com/ufaq/can-i-have-a-custom-php-environment-with-extra-extensions/
Â