I mean, we have examples in history like Porsche making the worlds worst tank for the Nazis (transmission fell out).
Lamborghini “hiring” People to avoid going to war.
Manhattan project.
There is precedence for morality in engineering.
There are counter examples, as well.