@laxla I'm currently working on this data portability proposal: https://codeberg.org/silverpill/feps/src/branch/main/ef61/fep-ef61.md
The proposed mechanism is designed to work within today's Fediverse, but at the same time it is future-proof and should work fine in P2P setting.