Yes, your baby may sleep with a humidifier if they are ill. However, ensure that the humidifier is three feet away from your babys crib or place.