Gamescope, the weird microcompositer they use to do that, can be configured to use wayland clients instead of x11
I often describe cheese puffs as styrofoam coated in cheese dust and I love them for it