It would only work if you know exactly when you were going to die. Since I plan never to die I will instead keep my debts low and pay them off every month.
I run up credit card balances each month and pay them off in the next month. I pay all my bills with credit cards except my mortgage and the ones that charge extra to use a credit card. I don’t pay any interest except for the mortgage and that is at 2% so it is cheaper not to pay it off. I also get credit card points.