I have a Macbook Air M1 and also a gaming desktop so I thought I'd chime in with some first hand experiences.
I bought the Macbook Air M1 because its a phenomenal laptop. It does a very good job at the most important parts of what a laptop is supposed to do. I get 9 hours of real usage battery life, its thin, its light, it has a great display, it runs all of the software that I want to run on a laptop, and it handles all of the personal computing things I like (picture management, personal files, email, research, media entertainment, etc) very well.
Occasionally I wouldn't mind firing up some games but this laptop wasn't purchased with that in mind at all. With that said, it handles wow very well for what it is. It's not anywhere near the experience I have on my gaming desktop, but I can set it on medium settings and play when I travel or am not at home. I can take it with me to my friend's house and play some wow with him. I can fire it up on my lunch break at work on lunch and play a little. I've always had laptops with intel graphics or very low end discrete graphics and I've always tried to play wow on them. It's never been a good experience using those laptops, even casually. My M1 Macbook Air is the first non gaming laptop I've had where it wasn't a compromise to play wow on it.
The M2 is more powerful than the M1, and when you start looking at the M2 pro performance only gets better. If you need a family desktop, just want a Mac, but wouldn't mind if that comptuer could play Wow reasonably well, I say why not? I mean you can't beat the price either... $699? That's enough for me to even look at them to replace our now-aging family computer.