Can babies sleep on their head straight?

Neska

Or can they only turn their head to the side? Mine has been sleeping only on the sides, she’s 5 weeks young