A catnap under your supervision might be fine, but your baby definitely shouldn't spend the night sleeping in the swing while you're asleep, too. The American Academy of Pediatrics (AAP) recommends moving your baby from the swing to a safe sleeping place if they fall asleep in the swing.