You will have difficulties gaming on any passively cooled notebook. Buying a Mac to game is questionable, buying an Air pointless. Design is a factor whether you like it or not, if the cooling solution is incapable (as was the case on many Intel based Mac's) active or passive the only recourse is for the system to throttle... Therefore physical design is a major factor.
Cyberpunk 2077 Raytracing Ultra @ 2560x1600
View attachment 2571965
Right tool for the right job and all, or maybe design isn't a factor...
You need Max spec for modern AAA a 16" MBP or a Studio. M5 when it comes will be better, equally not going to deliver massive gaming performance. I looked; it is what it is.
As for M1 being garbage you might want to revisit some of the Intel MBP's. M1 was a revelation on launch, and they remain very capable for most common tasks today. It's not like they got slower with age. I game on mine with ease, equally my expectations are balanced playing older titles under modern source port engines.
Those that opt to try
Macs Fan Control will likely benefit, as their MPB will remain cooler and less likely to throttle down.
Q-6