Yes. But realize that after 20 years you will be more of manager/supervisor role. There is tons of discussion on this topic when folks are asking about majoring in engineering and then becoming engineers. More than likely you will have a team working for you or you will be using your experience as pilot (subject matter expert) as an engineer. Plenty of opportunities, but realize after 20 years of active duty, the tools and programs you used as a student will have changed. Technology changes quickly. Also, after 20 years of service you are way beyond entry level engineering type work, you will be paid for your management skills, ability to plan and lead teams/projects, and you ability to see the big picture on projects and put it all together.