>>9069moral codes come in several varieties:
Social rules that work, with reasons lost to time, maintained with stories.
negotiation/bargaining with ruling classes, subjects accept the ruler with the condition of adhering to moral codes.
you could try to interpret Marxist policies as morals. It would be moral rules for the optimizations of society, banning the exploitation of workers for profits will lead to more economic success, because the contradictions of capitalism reduce it's economic efficiency.
Morals however are very limited, because it can only be social norms ,which are hard to enforce and also limited in scope and complexity. Our goal should be to change the economic system, rather than social norms, because the economic system is the much more powerful and influential layer in society.