Yes, I know this is extremely stupid and impractical. I did this for fun.
This was achieved using QEMU/KVM and virt-manager. I first created the VM using virt-Manager, then made a bash script to start the VM, added the script to my sudoers list (Probably a security risk, but fuck it we ball), then made a steam shortcut to virt-viewer which also started the VM. Yes, this is on the advanced side for 99% of people and I 10000% recommend you never try this. I did it for fun, and nothing else.
Unfortunately I cannot hide the header bar at the top, I think this is a property of gamescope. On desktop mode I can go fullscreen perfectly fine.
Sorry for bad quality, I recorded it using steam link.
This was not running on Deck hardware, however it can be done on Deck hardware, and I plan to do so on mine whenever I can get one.
Gaming on the VM’s isn’t really feasible. I just did this for fun.