Is this safe for baby

Jossie

He is 2 weeks old. I want to know if it's ok for him to nap here? Or is it bad for his back or neck or something?