Is it safe for baby

I just had my son this Christmas morning. I have had no sleep in over 48 hours. Is it ok he sleep like this while I sleep? I’m anxious about it.