it's perfectly fine I think. my baby slept like that in the 2nd n 3rd weeks. she slept better like that also. then after that, dont want already.
you just got to be careful n check on your baby often. for mine, when she wouldn't breathed, she would cry n struggle.