It all depends on games you play. Talking about singleplayer: a good mount of games run natively and those which don't usually can be played with Proton. Valve did a great job and nowadays you can run almost anything (although once in a while a little bit of tinkering is required). The only problem that you can stumble upon is unticheat. Basically just check if your favourite games are playable or not here and than decide whether linux gaming is for you.
Linux
I do a bit of coding but I mostly use my pc to game tbh hahaha, Deep rock Galactic is what I'm obsessed with right now
Valve has certainly given linux a boost with the SteamDeck and all the work they've funded to make it a viable gaming platform. I just hope they release SteamOS for all platforms soon, maybe we'll see an uptick in PC pre-builds with SteamOS as an option instead of just Windows.
It's quite viable at the moment, and with Wine, you can run many Windows programs, including games. Sometimes it even runs some old games much better than current Windows versions.
If the developers don't use DirectX for 3D API, then it's quite easy to port. At least Windows still has OpenGL and Vulkan, unlike MacOS. (Why did they axed those in favor of Metal?)
Fun fact, MoltenVK enables running Vulkan on macOS. It does so by forwarding Vulkan calls into Metal. There's a little bit of extra work involved in setting up the Vulkan instance under the hood, but it's otherwise easy to forget it's running on top of Metal. Granted, it would have been nice if Apple had just included native support for Vulkan out of the box.