There is already a current rule in this. If a king goes inactive (Grey) then the next biggest duke automatically becomes king.
The biggest Duke, but I'll forgive that error. Still, some Kings might be so desperate that Kingdom X doesn't win that they delete. This was what I was hinting at.