You didn't provide enough info.
Is this supposed to be your main gaming machine? In that case the Mac is out of the question, as Apple Silicon Macs can't run x86 games natively, only through Rosetta 2 (Mac games), a translation layer that brings a certain performance penalty, or x86 emulation inside a Windows for ARM VM (Windows games) where the performance penalty is even higher (also the setup is not supported in any way by anyone).
If you're looking for a general purpose machine with some light, casual gaming on the side, sure, the M1 is okay. I play some Euro Truck Simulator 2, Liftoff and Factorio on my Air. But in that case maybe the Air would suit you more, and you can get one for even less than the 13" Pro.