Yes but XMPP is not nearly as advanced in the bridge department. Matrix has a whole ecosystem around it.