You can use any webchat tool that can be included in an HTML «iframe».

https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/main/documentation/external.md