The code of conduct would be aimed at avoiding accidents.
The code of conduct would aim to avoid accidents.
The code of conduct would aim at avoiding accidents.
Yes, as with all slight changes of wording in English, there is a difference.
"The code of conduct would be aimed at avoiding accidents."
"The code of conduct would aim to avoid accidents."
"The code of conduct would aim at avoiding accidents."