Hi there
It took me pretty much 2 years exactly to pass EASA ATPLs distance learning whilst working full time (9 to 5 job). That’s timed from taking out the course to passing the final exam.
I could have done it in 18 months at a push, however I felt that the pace I used helped to learn the subjects fully and not just the banks. I also recommend planning in some down time / hours building to keep things slightly less soul destroying :o)
Friends of mine made the jump well into their 30s so you’re not too late, and time is on your side wrt the hiring situation.
Best of luck