Safe?

My baby is due any day now. Im wondering if it’s okay if my baby takes a short nap in this? Like if he falls asleep in it, can I leave him in it for a short nap? *ill always be right there*