Never done this myself, but I believe gamescope should be able to do that? It should be able to run as the primary Wayland compositor and with the right flag you can expose Wayland to the client.
Gamescope is a microcompositor from Valve that is used on the Steam Deck. Its goal is to provide an isolated compositor that is tailored towards gaming and supports many gaming-centric features ...
Whoa! That does sound like exactly what I was looking for. Thank you so much, ill give it a try tomorrow!
I wanted to do the same for a dedicated jellyfin player box; a defunct laptop or mini PC that boots straight into the jellyfin-media-player (jellyfin desktop nowadays) in TV mode and was looking for just the bare minimum of packages to achieve this. gave up, curious how others solved it.
Linux
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP