Regarding looking down the route of a possible existing solution …
I first thought of Discord … lots of people use it while gaming, or co-watching movies, etc.
And maybe you can host your own server.
Also : “Chat system like Discord on a private network?”
https://www.reddit.com/r/selfhosted/comments/pdc0my/chat_system_like_discord_on_a_private_network/