I haven't had my M3 Macbook Air long enough to dig into much gaming-wise, but I've been gaming on my M1 Mac Mini with 16GB ram for three years and it has been just fine (titles include the three reboot Tomb Raider games, Descenders, Myst series, Obduction, Gris, and I also run Steam via VMWare Fusion/Windows 11).
I did max my ram on the Macbook Air, though, just for some future-proofing. You might need to run some intensive games on lower settings, but I've found that using medium graphics settings I don't really lose much.