Just holding one's breath is not a risk factor per se.
However, hyper inflating your lungs can result in pneumothorax in individuals with blebs and abnormal lung tissue. The practice of sucking in deep and hold one's breath while smoking
drugs such as marijuana
is associated with spontaneous pneumothorax.