A society with a lot of elderly = demand for huge amounts of daily care, which is hard to automate away, though probably not impossible. (The Japanese are definitely trying.)
The only way out of this conundrum would be a breakthrough in longevity, where people would live to 110 in a relatively good shape and being able to care for themselves, then die within weeks from some fast degenerative process.
Unless it was very well paid, this job is far from enticing. Trying to keep a doubly incontinent geriatric patient from smelling for decades is an arduous and depressive job with no perspective of improvement. Geriatry as a subset of medicine is struggling to find new recruits, because as far as prognosis of the patients goes, it is the single worst branch of healthcare.
There are people with wherewithal to do this for decades, but this pool of willing is going to be overwhelmed.
Most old people aren't anywhere near that bad. For those who are, it will have to be operating almost on rotation and with large financial incentive.