The problem with your solution is that some people for those 25 years will spend all their extra money and then get Medicaid to pay for their nursing home stay. While others who instead gift their extra money for those 25 years to their kids would not get medicaid.
Who are you to determine that the spender gets free care while the gifter doesn't.
It’s welfare for both situations.