Yep, but we tried to do it on top of XMPP…. This was back in 2007 and 2008! Ages ago. Honestly a lot of decentralized tech needed to be developed in order for it to work. We were too early.
https://www.slideshare.net/blaine
https://redmonk.com/sogrady/2008/07/30/xmpp_rest/
http://scripting.com/stories/2008/01/21/xmppAsTheBasisForInteropIn.html
https://xmpp.org/2008/09/xmpp-roundup-1/