I mean, hypothetically, there could be ways to merge technocracy and democracy. People could vote on a selection of top experts for example. Or perhaps people could vote for what technical background they think is most important for a position and experts of those backgrounds are automatically assigned to the role
So basically a government funded committee would decide who gets appointed to any public office. Alternatively we can just select a random person with a relevant bacgkround/degree..