Can a baby be born with a collapsed lung?

Unfortunately yes. It can result from incomplete development of the lungs (as in premature births) or from perforation during birth. It can be a life-threatening condition but in many cases is treatable.