Not necessarily. Any condition that affects the ears, sinuses, respiratory function or heart function or may alter consciousness is a concern, but only a physician can assess a person’s individual risk. Physicians can consult with the Divers Alert Network (DAN) as necessary when assessing a scuba candidate.
DAN has information available online if you wish to do some research.