Where does baby sleep?

Can a baby sleep in a pack n play at first? Even if it's a pack n play without the designated sleeper section and is just a plain pack n play?