Sure, but those 6 years were incredibly stressful and difficult I also had to still pay a certain proportion of my income towards it. It also restricts or bars from certain jobs, some even after the 6 years, and can prevent a person from holding some positions during the bankruptcy - one of which I'm currently in.
Taught me a lesson, I was brought up not to use credit, and will never put myself in that situation again (position where I owe more than I hold).