This was tested on a fresh Raspbian Bookworm Lite installation. Proceed with caution.
EDIT 23/12/2023: Removed dead download link and added own release
sudo apt install wayfire seatd
As I delve my interest more and more into IT Security, I had to invent a ridiculous scenario for myself: If I ever run out of Live USBs and the only machine available comes from an untrustworthy acquintance, how could I carry on with a (very) urgent critical operation without giving up any details to their host machine and most importantly, without wasting ANY time?
Thanks to Flatpak, this idea is not hard to execute. At all.
Saddly I don't have enough time to explain myself, but taking advantage of Flatpak sandbox and permissions system, one can also make ALL relevant directories underneath work with a volatile filesystem!