There you are discussing ability and responsibility. Those are entirely different matters from a professional association requiring you to sign up to a code of ethics.
They are not. That's the point of a professional association, to connect ability with responsibility. It defines what competence looks like and how to enforce it when it fails. Without that link, you just have people claiming skill with no mechanism for accountability. Most of software already looks like that which is the entire problem!