You can get a job if you require glasses as long as your corrected vision meets the required standard.
Although some airlines will only empoly cadets with perfect vision. This is pointless as most with 20/20 vision at a young age will require reading glasses when in there 40s-50s anyway.
You may have to get your license yourself (self sponsored) rather than start with a cadet program, then apply to airlines