Can I use Github Enterprise with Pipeline Review apps?

Heroku's GitHub sync features are hard-coded to connect to and use

It is possible to manage this process with a deployment web service of your own that receives webhooks from your GitHub Enterprise service, and can then retrieve the repository's sources and pushes them to the relevant Heroku application. This would also maintain a higher level of security as the contents would only leave your infrastructure when being sent to Heroku, which also only happens over secure channels.