A simple answer to the Question “Can foreigners buy property in the Algarve”, yes of course they can, there are no restrictions on foreigners purchasing property in Portugal.
Owning a home is a keystone of wealth… both financial affluence and emotional security.