one server, multiple Claude Code clients is what OP is proposing
a server like herdr has a server
That's already possible too. A single server can handle multiple sessions, and multiple devices can connect to a single session at the same time. However, since the client is limited to Anthropic's app, there is no local API for connecting your own client.