I use Pop!_OS for my gaming rig. Pretty well optimized for gaming and light programming. Been enjoying it
The biggest chunk of games that do not work falls into the multiplayer / live-service category, as anti-cheat solutions often don't allow for running on Linux this way.
Compared to macOS, this is probably night vs. day.