Bit of misinformation on this thread, but generally the only thing that can actually get in the way of someone dedicated enough will be compatibility and security systems.
You probably won’t have any luck getting nvidia drivers on android for example, nor take the time to back port those drivers to an outdated kernel.
I suppose you could also have an OS that takes most your system resources for non-gaming tasks, making games unplayable. Something like nixos is non-gaming centric and could reasonably be more optimised than bazzite, less background processes making games actually run better on it.
Only sort of, quoting this article
So while they did ‘open source’ their drivers, theyre also not accepting contributions that aren’t in house. The codebase is too locked down to benefit other projects like NVK, as a true FOSS project would be.