The only example I can think that messages are expressed as documents is Microsoft Teams. And it’s as much an example of what not to do as anything.
A self-contained rich formatted text file/package that optionally contains attachments or media.Very few messaging apps let you go beyond plain text and let you start embedding media or complex layouts inside a message.
Pretty much no messaging apps let you create messages more complex than markdown anyway.