Would it be gay to cuddle another man for warmth?

Im planning on doing a winter hiking trip with some buddies in the winter. One of them is the mountaineer and he was telling me that we might have to all get close at night if the cold gets bad.

Made me think of that without a paddle movie. I feel like if it’s for survival and warmth, we should be good?