That’s like saying you can use email if you like living in the 70s-80s. XMPP is a pretty healthy and active project that is standardized like email and ActivityPub. I would consider XMPP pretty modern, especially considering its features, extensions, etc., as well as the numerous applications it is integrated in.