No. That’s factually false.
Hitler was named chancellor of the weimar republic by the government. Not elected as such.
And it was part of a plot from the weimar government to be able to continue to work without casting new elections, as asked by the laws.