Not without a waiver
At least in the army- not without review and separate approval.
This is a condition which can not be in the military without a waiver:
h. Current or history of congenital anomalies of heart
and great vessels (746), except for corrected patent ductus
arteriosus, do not meet the standard.
Reference: ar40-501 standards of medical fitness.