Interesting thought.
For what do we optimize actually? For the working class? For human lives?
You know what would have not been an issue if we would talk to each other and would find a global compromise independent of capitalism?
A pandemic.
We would just take our knowledge and resources we have and transform it temporarily in a setup in were its not an issue to work from home, work less for a year or two, have family and friend clusters were subgroups can visit each other without spreading virusus, high vaccine rate, masks everywere.
I don't mind discussing IF our society should throw older people under the bus, but only if we accept that we did a lot of stuff shitty before and we could do it much better.
But also lets not forget one thing: This is a pandemic. Our first pandemic in a modern time, unique to our society.
We have handled it much better than 100 years ago.