It makes sense, but it would be a mistake to confuse Nazism with socialism. It was a weird hodge-podge of nationalistic, racial and philosophical tenets that appealed to the uneducated and those wishing to control the uneducated while fighting the threat of communism (the cure was just as bad as the disease). Goodle "Nazi philosophy" or "National Socialism Nazis" and look at the dictionary definitions that come up and you'll see a weird stew of ideas and concepts, including fascist doctrine.