Yes. On liens are recorded they are a matter of public record and most often can be checked at the county courthouse for the county in which the lien was recorded.
Yes, most liens are for public record, so it should be easy to find out which homes are in foreclosure and up for sale. Easiest way is through online data, you might have to pay a fee, but most sights offer free views.