You can use an external application for that (Twitch/Discord/Mumble), if you want to host a chat server (since RetroArch doesn't offer this functionality at this time), then use Mumble to host your own chat server. You might want to get a separate PI for the hosting the server, since the Pi might not be able to drive both the emulators and the voice/chat server at the same time.