Was thinking the other day that nostr lists can be used to represent these tree like documents. Leaves of this tree are event tags (p, e, a, r, t and more). I think Pablo is experimenting with this idea with Highlighter Atlas, can't wait to see where is going.
I foresee us being able to compose rich interlinked documents using nostr lists and events, and these documents can be shared if multiple people have access to the private key.
Love your vision and think it'll happen, all the pieces are there.