Yes but the AMD design draws double the power even though it was fabbed on a lower process node. I mean it defeats the purpose of a portable. Now you need double the battery weight or lose half the runtime. No, the M2 still wins. If processing is the goal at the expense of portability then you can buy a nice 64 core EPYC system for $1700
The battery life is still fine. Plugging in once in a while isn't a huge deal. I'd rather save time compiling than not having to plug in once every 8 hours.