It's not an unreasonable idea. It was done by the Homebrew community on the
Game & Watch for example. It would help knowing if the memory is on- or off-chip and what package it uses.
They are constantly changing some stuff on their PCBs, but if we look their website we can see all the elements inside, and I can recognize STM Microcontroller and ST31H320 secure element, but I am not sure about memory.
I am not familiar with other components on the board, but maybe memory that is used is from secure element, ST31H320 has up to 320 Kbytes of secure, high-density User Flash memory.
Nano X is using different model of secure element ST33J2M0 that has up to 2048 Kbytes of User Flash memory.
https://support.ledger.com/hc/en-us/articles/4404382029329-Check-hardware-integrity?support=true