It is not physically possible to cough up a lung, but there are a number of ways that violent coughing can hurt your body, from coughing up blood to cracking your ribs. If you've had a persistent cough for more than a few weeks, call your doctor.