Sumit Gaur Thanks for posting your question in Microsoft Q&A. Yes, you can create a custom domain that map to Private Virtual IP address as described in https://learn.microsoft.com/en-us/azure/api-management/api-management-using-with-internal-vnet?tabs=stv2#routing. This way, APIM endpoints are accessible only from the VM/services in the VNET.
Then, you add a condition in your APIM policy to check if the request is coming from a specific host name via Context Variable - context.Request.
I hope this helps and let me know if any questions.
If you found the answer to your question helpful, please take a moment to mark it as Yes for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.