Putting an Xbox in a freezer would be extremely detrimental and could permanently damage it.
Why It Destroys the Console
Condensation: Extreme temperature difference causes moisture to condense on internal components, leading to short circuits, corrosion, and motherboard/hard drive damage.
Mechanical Damage: Rapid expansion and contraction of plastic and metal parts can crack or warp them.
Frozen Fluids: Internal lubricants and fluids can freeze, causing mechanical failure.
Data Loss: Freezing can corrupt the hard drive, leading to permanent data loss.
Summary: Never put your Xbox in a freezer. If overheating, use proper ventilation and cleaning instead.