building a chat is quite simple, I code in node js and I just use socket.io (which I have some code already)
then whenever you need gpt is also quite simple, integrating with their sdk is literally a few lines of code
the problem would be maintaining the server, security and dig into each integration... it woudl take time