Support normalized doc state

Is there a way to structure doc state in a normalized way using IDs?

Meaning, translate from this:

  {
    content: [
      {
        "type": "paragraph",
        "content": [
          {
            "type": "text",
            "text": "This is your dinosaur-enabled editor. The insert menu allows you to insert dinosaurs."
          }
        ]
      }
    ]
  }

to such state:

  {
    docs: {
      '1': {
        "type": "paragraph",
        "content": ['2']
      },
      '2': {
        "type": "text",
        "text": "This is your dinosaur-enabled editor. The insert menu allows you to insert dinosaurs."
      }
    },
    content: ['1']
  }

if some details are missing, apologies in advance, just ask for what’s missing and I’ll update ASAP

ProseMirror doesn’t work like this, so, depending on what you mean, probably not.