Yes and No
Yes! i'm afraid that in many respects you are. You are most unlikely ever to make it into a regular airline job - if that's your dream. They'll never tell you that of course - because they can't - but most airlines as an absolute minimum will be looking for under thirties.
But that's not to say that you can't have an interesting and rewarding career. One chap I know didn't do his first commercial job until he was in his sixties.
Provided you manage your expectations, both on salary and type of flying job professional flying is still an option.