I don’t think it’s possible in Mendix Public Cloud. According to https://docs.cloudfoundry.org/concepts/http-routing.html#app-instance-routing you can do it if you can find the instance GUID. That would be possible if you have access to CF API.
What is your use case? Can you give more details in why you are doing this?