Rhetorically, the Nazis in large part did rise to power on the basis of socialist rhetoric. They did claim to be socialists, supporting socialist policies. This is how they obtained votes.
In practice, not so much - and of course it turned into fascism.
For many, the salient point regarding the Nazi party is that people believed they were voting socialist, even if this was not the system implemented in practice.