Can Socket.IO work in Heroku but only locally?

So I’ve created a web app using ReactJS and Socket.IO, we were able to use it in our esports organization’s tournaments and was successfully executed. I’ve made one for LoL:Wild Rift & Valorant. But I’m planning on putting it on at least Heroku maybe so that other tournament organizers can use this overlay as well.

Basically, this app has 2 pages, the Index (AKA the Admin, “/”), and the Overlay (“/overlay”). Whatever I pick and ban in the Admin, gets transmitted to the Overlay in real-time. As well as the team names, scores, and player names.

So my question is, would it be possible to use Heroku but will only run the websocket/socket.io locally on whoever uses this app?

Here’s a demo of the app: https://youtu.be/LLb0xMhqcrQ