You may be interested in a project called “wolf”. Its goal is to run graphically accelerated containers using a Wayland compositor that uses gstreamer as the backend instead of a display. After that, wolf serves as your moonlight server. There are hoops to jump through if you’re using Nvidia, and the software is very young. But I think it shows promise.
https://games-on-whales.github.io/wolf/stable/
I haven’t tried it myself yet, if you give it a go, let me know how you get on. 🙂
I’m excited about the future of this project. This lets you run gui applications in the cloud, all containerised, with no requirement to already be running a display server, and have it be fast and responsive.