Depends on what you mean by legitimate. In a philosophic Thomas Paine way then no it is not a government made up of the "will" of the people.
But look around the world, there are lots of governments that run with sham voting or no voting at all. They are legitimate governments that that legitimately hang you in the city square.