AE will do it but you can't just open the program and have success. It takes some study and some skill. You can produce animations in all kinds of apps, AE is one of the most versatile programs available, but answering the question is AE the best, that depends entirely on your production design. It's certainly capable, but it may not be the easiest solution.
I realize this is vague, but it depends on what you're trying to accomplish. You might be better off using a 3D Application, depending on the style of animation you want to do.
It's tough to say since we only know that photos and vector graphics are involved, and nothing else.