No, the germans were attempting to commit genocide and take over the world. Even if you find the iraq war as immoral, nothing can compare to the Nazi's intentions.
There are exceptions to everything.
When your country needs you, and what they aim for is not to go and kill innocent people, or...