I just found out that a friend of a friend’s house was foreclosed last year, but she still lives there, rent free! FBs (haven’t use that acronym for a long time) typically have little incentive to agree to your deal.
Another complication: banks may not agree to sell the house to you at a fair market value, let alone at a discounted price.