I guess you have the experience of sleeping in body underwear. I don't recommend wearing it. Usually try to wear loose or fit clothes at night.
Underwear, such as pajamas and thermal underwear (without body shaping function), makes the body relax and natural.