1 PC 2 Gamers setup

This is a wild shot and a search didn’t show up much. I have a dual monitor setup and a friend is coming around. I would like to set them up with their own Mouse and Keyboard. And play on the same computer at the same time.

I guess with a VM I could pretty much tell it which USB devices belong to it, but I don’t think sharing my single Radeon card would work (?)

Now that I think about it, would it be possible to have two Wayland instances that share the same GPU? But are completely different sessions (of KDE in this instance)

So technically it should absolutely be possible to tell Wayland that this Keyboard and this Mouse is ONLY for that window. But I doubt they have implemented such a feature.

But asking before making assumptions never hurts.