At first, all the girls in our dormitory wore pajamas, but when they got familiar with them, they basically stopped wearing them, and there was nothing to be ashamed of. Everyone is the same.
Generally, the dormitory requires uniform sheets, and the sheets are on the outermost side. If you sleep naked, make sure the sheets are clean. Otherwise, it is better to wear pajamas.