You can vote yourself into Socialism, but you will need to shoot your way out.
Like Sweden had to when they experimented with socialism in the 1970s and 80s?
Or any of the eastern bloc European countries?
Did Israel have to shoot its way out of their experiment with socialism? India?
Plenty of example where countries abandoned their socialist economic models without firing a shot