Depends on the CPU.The am5 doesn't heat up anywhere near as bad as 1700 platform. Temps never come close to 100 and its progressive, doesn't immediately shoot up to 100 like with intel.
For example, the 7950X, and the 7900X when released were 280W with a 100C temp limit, which was likely due to trying to stay on top of the charts against Intel.
However, the 7800X, 7700X, 7800X3D, 7900X3D, and 7950X3D are spec'd to operate at much much lower wattage, and will peak at 90C or less. It's essentially an undervolted version of the first releases, but at stock.
The 7700X and 7800X have always had a lower wattage output compared to the 7900X and 7950X.