I’d be very curious to understand (even very crudely) the breakdown of those 40W. Roughly how much does each internal component consume at its peak load? Or at least for the top offenders.
80%+ will be the M1/M2 SOC with it's on package Ram, ~5% will be SSD, 5%-10% Fan, remaining will be supporting circuitry (buck converters, regulators etc)