Pack n play

My seven-month-old son sleeps in a pack and play. I was planning on letting him sleep in a pack and play until he is old enough for a toddler bed. Would this be alright?