It’s possible for already wealthy people though. Poor people need $x per month. A bit more wealth and cashflow is not an issue and so you can look at $x per decade. In that scenario taking a gap year to bash leetcode and interviews is perfectly rational. Its a 10% tax at worst.
So you think it better to discriminate according to the size of a candidate’s bank account? From where I sit, you are saying the poor do not deserve the same chance. I think age discrimination would be less offensive to the masses.