Aged care in Australia apparently works somewhat like this. You can pay in a lump sum that your estate later gets back. They invest or use it as capital for building more aged care etc.
Many well their home to finance it.
I’m sure the details are a little different but the idea seems similar.