Yes the M series chips have made the Macs actually viable for proper AAA gaming, but hardware isn't the issue. The issue, is Apple. Apple hates game developers, and game developers hate Apple. Ever since OpenGL got divested in macOS Mojave in 2018, developers had a mass exodus from the Mac, made even worse with macOS Catalina killing off legacy support for 32 bit games. The Mac library of games wiped out in an instant.
The final nail though was Apple vs Epic, more specifically the testimonies within. Apple execs confused why consoles would be sold at a loss, Tim Cook not knowing who Valve or Steam were (despite having them as a main keynote speaker during WWDC 2016 presenting the defunct SteamVR for Mac,) and more baffling comments that showed how out of touch Apple truly is with the game industry. Comments that have been mocked and ridiculed across the internet, some even turned into Ace Attorney memes.
What do game developers want? macOS support for the Vulkan API. What do they get instead? "Use Metal or go somewhere else." Well guess what, they went somewhere else lmao. No one wants to learn a graphical API only available on one platform, a platform their games won't sell well to begin with who's platform holder actively hates them and puts restrictive rules on them. It's just like what happened with the PlayStation 3. The PS3 had a unique architecture and was complicated to develop on, on top of being overpriced initially, and draconian rules and bullish behavior from Sony, so most just ignored the platform and developed for Xbox 360 instead. So learning from this Sony made the PS4 they asked what developers wanted, and they wanted a system that was easy to develop for as possible. So Sony designed the PS4 with all their requests, and as a result they dominated the 8th generation, outselling Xbox One by 3 to 1.
If Apple wants to convince developers to make games for Mac (which tbh Apple doesn't lmao) then they need to make macOS a lot easier to develop for, provide incentives to do so, and give the developers what they want. Which lets be real, Apple will never do because they want control, and if they don't have a direct financial incentive they're not gonna do it. So Mac will remain the odd one out in terms of desktop gaming, even moreso now with the booming success of Valve's Steam Deck and SteamOS causing the rise of Linux Gaming to the mainstream.