No, it doesn't.
Ukrainians have been repeatedly polled and the majority don't want to hold elections in wartime. That's democratic.
Holding an election while a foreign aggressor is occupying part of your territory and terrorising its population, enabling them to suppress and manipulate their votes: that's undemocratic.