Edit: If this is up to date https://devcenter.heroku.com/articles/dynos
Then heroku uses ec2, so it should be possible.