Someone's aim is what they intend to achieve.
My aim is to play for England.
It is our aim to have this matter sorted quickly.
You can say that someone does something with the aim of achieving a particular result. You do not say that someone does something ‘with the aim to achieve’ a result.
They had left before dawn with the aim of getting a grandstand seat.
The purpose of the meeting was to share information with the common aim of finding Louise safe and well.