Loans are absolutely not worth the return on investment (ROI) for an airline career. This has almost become an empirical truth.
I agree with other posters that if you do take a loan out, do it so you can buy an aircraft. If I started over, I would spend a lot of time researching, formulating a plan, then buying a single-engine IFR bird. If you do it right, you can sell for roughly what you bought it for and are really only out the cost of interest.
The loans you take out for a "flight school" will be attached to disgusting interest rates. You are better off finding a flight instructor who can provide instruction in your aircraft, on your time.
And again, run from this career.