Yes.
Mortgages create liens on homes. All liens¹ are public information everywhere in the US. If you payoff your loan, you remove the lien and that gets recorded.
How companies get the information very much depends on the business. There are people who go read all the records² and add the information to their database. Then they charge other businesses to access the database, which is then used to do marketing or research.
Some of the data may be protected and not shareable in that manner depending on local laws. In that case, you'd have to go to the registry yourself to get the information. The information is still public.
¹ Other types of liens include:
- Judgement Lien: the owner owes money to someone,
- Tax Lien: when you missed too many property tax payments (which is why mortgagors pay that for you and you get an escrow account),
- Mechanic Lien: when you owe money to a contractor that did work on your house.
² Many of those public records do not automatically make it online. At least not by the county, city, court, etc. An example of such a company is the MLS.