Bank of America has launched a pilot program aimed at allowing homeowners facing foreclosure to stay in their homes by renting them back from the bank.