This is so weird, because you could also just not elect them.
The issue is not electing people... it's re-election advantage. Incumbent candidates rarely lose, especially in Congress... and power is addicting. This leads to the current situation where U.S. Congress median age is pretty far on the cognitive decline curve - https://www.pewresearch.org/short-reads/2023/01/30/house-get... . I think there were multiple issues that took down USSR, but aging leadership with inflexible…
The fix for that isn't age limits, it's term limits. Which would also help with many other issues that are caused by politics being a lucrative career.