Temperature alone does not make anything a room heater.
A burning matchstick is at +300 C but it cannot heat a room
Total heat power output is what is critical, and yes, in that metric, Ryzen 7000 is worse than Ryzen 5000, but still is just ~220W, which is nothing compared to real room heaters of 1500 ~ 2000W