Not Heroku. It’s probably possible to make it work, but it wouldn’t be the supported configuration, and since your production setup probably is hopefully using the supported configuration, it wouldn’t be a proper mimic.
It would probably be best to use the 5$/mo DigitalOcean setup. It’s cheaper than AWS, and it would match production more closely than the frankenstein setup you’d end up with getting Discourse to run on Heroku.