I started to learn English with the aim of becoming a teacher. I started to learn English aiming atto become a teacher. They both mean the same thing. Aim can be followed by an infinitive without a preposition.
He aimed his gun at the target.
She aimed her sights on the handsome young man across the room. We aim to earn our dipl