Texas has done this.
Most of the time medical expenses aren’t incurred through the deliberate poor choices (lifestyle not included) or financial boneheadedness of the creditor.
Add to that, medical costs, if not so serious, are laughably off the charts when compared to other essentials.
Having an unplanned medical emergency is a far cry from going on an irresponsible spending spree, IMO.