I wear glasses, can I fly for an airline ?

Yes ! as long as you can see normally with your glasses or contact lenses. Plenty of airline pilots fly with glasses and they have no problem whatsoever. Visit the closest Aero-Medical Center to confirm.