Is it possible to deploy a Node.js app in Heroku with some of its code written in Go?

Title says it all. I have a Discord Bot currently deployed on Heroku, but want to use Go/Python to handle GET requests.