I mean, XMPP is great, but if you are only interested in private chats with your family in a virtual LAN then it (and Matrix) is probably overkill and a bit of a hassle to configure without a public domain (as that is expected for federation).
Maybe a Nextcloud Talk or a Jitsi Meet instance would be simpler?