I have often wondered why nobody takes the open source clients for Telegram and experiments with swapping the backend, so to speak.
It’s of course not trivial but one has to wonder if there’s something there.