It's kind of a complicated topic honestly. Apple Silicon Macs are absolutely fantastic for games... When the games are optimised for the Macs in question, which most games are not. Some will run, but poorly, most won't run at all. But games that run well, run very very well. Battery life, fan noise while gaming, both best in class. Performance is great for the form factor and even price and speakers and compatibility with game controllers and the like is very good too.
But yeah, selection is small. And getting some games to run requires a lot of tinkering and they'll never run well (talking about Windows games running through translation layers or old Mac games not optimised for Apple Silicon).
I would advise looking into Andrew Tsai on YouTube. He does a lot of Mac gaming content, showing off performance as well as how to get certain games to run and optimise their performance.
You can of course also listen to the MacGameCast podcast (shameless plug), where my co-hosts and I discuss this sort of thing on a regular basis.
If gaming is the primary or sole purpose of the machine, the Mac is probably a bad choice. But for a computer with mixed use where gaming is also something one wants to do, but it is not ultra important to get to play *all games* just some; The Mac can be a great choice