Mortgages for people buying property in foreign countries have been available for many years. Each country takes a different stance towards foreign buyers when it comes to financing, but most European- and US-based economies have some facility.
For many years, international banks like HSBC, Barclays, and Lloyds provided foreign investors with loan facilities in a number of countries.