Putting yourself on a path where you could lose your home is not what I would consider a wise approach. I would suggest trying to get past whatever your personal issues are, then consulting with a bankruptcy lawyer.