Is it possible to deploy discourse to heroku?

Is it possible to host discourse on heroku by running postgre SQL and redis on remote machines?

Short answer:

We technically have only one official install here. Deploying on Heroku unfortunately won’t be supported by the core team, though folks in the community may have tips if you’re interested in doing so.

If you’re not tied to Heroku, it’s definitely possible to accomplish PSQL and Redis on separate machines, though an advanced sysadmin undertaking.

If you’re tied to Heroku, I did a quick search of the forums, so here are some starter topics for you:
Is it possible to deploy Discourse on Heroku? (Recent Update)
Installing Discourse on Heroku…best practices?