I think you would need to prevent the mystique of the president being elected royalty to make this a thing in the modern period. There's also of course the very real possibility of, y'know, tarnishing whatever legacy you had once you left office even further. It's fairly intuitive that ex-presidents who choose to remain politically active don't do it in an electoral capacity.