It really depends on the landlord in question and the treasons for the foreclosure. I find that some landlords are forgiving because they understand the times and especially if you can prove you are on the mend.
Your motives appear to be pure, but they could easily be misconstrued by the seller, and you could find yourself in litigation quickly, if the seller finds that it ends up costing them a sale.
As they say, "no good deed goes unpunished".
Secondly, it's not likely to be useful, even if a potential buyer of that property should happen upon it, they're not going to use your report... they're still going to conduct their own inspection. So it's more likely that your good-will-gesture might actually harm you, without achieving the desired result.... more