See: Snikket Chat | Snikket quick-start guide
Snikket is basically a ready made Prosody XMPP server for Docker based deployments that is pre-configured with all modern messaging features (incl. Audio/Video chat).
Having this included would make it super easy to host one from home on a CoreElec box.
Thanks!