I wouldn't compare a foreclosure or a bankruptcy to being an outcast or a leper -- stigmas like that aren't useful to recapturing societal stabilization in any way. While a Chapter 13, or foreclosure, or bankruptcy of any kind isn't quite the same as the common cold, they most certainly are not the horrible stigmas some suggest..
Get back on your feet, save some money, and you will be able to own again, often much sooner than you think.
During and after the deep recession of the 1980's, we saw many clients with foreclosures and bankruptcies. Once you've re-established good credit, FHA has always allowed a new purchase with an FHA loan. Generally, 2 years is what you'll need, but you might get an approval in 1 year depending on your own circumstances.
Ask for some lender referrals from your friends, family, even your boss at work, and talk to 2 or 3 loan reps who specialize in FHA loans to get some specific answers to your situation. Sometimes a lender will have you write letters about what happened, and sometimes they will tell you to wait awhile longer. Once you've found a loan rep that you trust, and feel is capeable, stick with them. Building a long term relationship with your loan rep is a nice relationship to have for years to come.
I think "leper" is too strong a word to use, although you REALLY have to have your finances back on track and your credit in order to be able to qualify for a new mortgage after a bankruptcy. Below are the guidelines straight out of our FHA underwriting manual regarding a Chapter 13
"An applicant for a FHA loan who is currently in Chapter 13 bankruptcy may be given consideration for a mortgage if one year of the pay-out period has elapsed with a satisfactory payment history and the applicant can obtain the approval of the court (letter from the Bankruptcy Trustee) to enter into the mortgage transaction. The payment history of the applicant to the trustee will be considered the applicant(s) usable credit history."
Hope this helps. Good luck!