I can see how you'd say that, but I don't really think it's necessarily the case. Having codes of conduct isn't just for lawful good, they just have a stricter code.
By default, D&D does support and encourage the Neutral, Good, and Lawful good characters and heroic style gameplay, so from that...