To add to what Dana said, no it probably wouldn't hurt to check with your doctor, and you might find out what you want to know if your doctor knows what the FAA wants for a second class physical, but it takes an AME (Aviation Medical Examiner) to give you a definitive word. I might note that a commercial pilot is not an airline pilot, but is the next step beyond the Private and one who may fly for pay.