All of the Superbase/Firebase alternatives will either have difficult self hosting or strange limited hosted options .
I’d probably use Django and vibe code any custom functions needed.
PS: Carefully evaluate if you really want to add multiplayer to a small game. So many considerations are involved with security and other issues. It can quickly take the fun out of building it
Eh for a game between friends it's fine, and I don't want a full backend for it. I use a simple message queue for the state but maybe Pocketbase has a little nicer primitives for this.
I'll look into it more, but even just better channels is enough for the kind of 20-minute games I build (like the one above, or https://justone.stavros.io/ to quickly play with friends).