Was Harry Potter capable of becoming a great wizard?

Yes. He became the greatest wizard of all time (In fiction, of course).