Yes, democracy can vote to end itself and replace itself with autocracy.
If not, it's not democracy! You're deciding to overrule the demos and enforce your minority opinion!
I know it seems like pedantry but we shouldn't confuse liberalism with democracy.