Athenian democracy worked this way--you had to opt-in to the candidate pool, but then the candidate was chosen randomly from that pool.
(Also, if people are interested in randomness in antique decision making, me & my wife made a simulator of an ancient lot oracle unearthed in modern Turkey: https://sortesalearum.com)