Sleeping naked

Is sleeping withoutans pants or underwear good for you? Like just a t shirt