Please allow me to clarify how this works, at least in the US. I do not know about other countries.
If a life insurance policy names a beneficiary, i.e., John Doe, the proceeds of that policy are paid directly to that person. They do not go to the estate. This includes any account that names a direct beneficiary, IRA's, 401K's, bank accounts with a pay-on-death. If you rack up a lot of debt, that debt is to be paid by your estate, NOT by the insurance policy if the policy names a beneficiary other than the estate. Assets of the estate are used to pay off any debts of that estate. If there aren't enough assets, then the persons/entities to whom anything is owed are just SOL. Also, heirs of the estate and/or family members are NOT personally responsible for estate debts. The worst that can happen is that all estate assets are sold, used to pay off estate debts, and estate heirs get whatever (if anything) is left.
If you want to run up a lot of debt and purchase an insurance policy with the intent of using those policy proceeds to pay that debt, then the beneficiary of the policy should be "The Estate of (your name)".
Know that this is how it works in the US. I know this from personal experience. If you are in another country, check with an estate attorney. In fact, I recommend you check with an estate attorney no matter where you are. There may be rare exceptions to these rules.