I think wearing your socks would make it harder to fall and stay asleep tho. You want your bodys temperature to go down and cool down so to speak. I think taking off your socks is arguably one of The easiest and fastest ways to get immediate relief in that respect
Theres this weird thing where my feet are very sensitive to being too hot and they're so of a belweather for if i need to cool off and lose some layers like socks