This is already implemented in modern XMPP clients like Conversations. See https://xmpp.org/extensions/xep-0352.html
It would be interesting to see whether Facebook/WhatsApp and iMessage have made them desperate enough to reverse course on XMPP but I'm skeptical that they'd be trusted enough to be successful.
¹ https://mail.jabber.org/pipermail/operators/2013-February/00... and then https://mail.jabber.org/pipermail/operators/2013-May/001680....