Technically, the answer to this question is “yes.” However, there may be some debt that you do not want bankruptcy to clear.
There’s a significant difference between secured and unsecured debt. Secured debt includes things like home mortgages and auto loans. If the debtor violates the security agreement, the moneylender has the right to repossess the collateral. That right remains in place whether the debtor files bankruptcy or not. Unsecured debts are things like credit cards and medical bills. As outlined below, these debts sometimes have collateral consequences as well. But in most cases, they are quite limited.