FTM- safe for baby to sleep overnight?

The bassinet can sit inside the pack n play or be removed. Is the bassinet safe for overnight sleeping while baby is in my husband and I's room for the first few months?