Is Digital Ocean a wrapper on AWS/Azure? It seems like DO offers plain VMs that you can use for whatever you need. In that respect it seems more similar to AWS and Azure than Heroku. It provides you the infrastructure to run your apps. The way you deploy and manage them is up to you.
Heroku in my experience abstracts things further so that you don't spin up your own VM. Instead you use Heroku's UI and tools to install applications and use Heroku's resources. Heroku attempts to help developers focus on apps instead of infrastructure.
From what I understand you could build something like Heroku on Digital Ocean.
I may be mistaken though. I'm not an expert in Digital Ocean so I am not sure if they offer a platform-like experience similar to Heroku.