Yes. A foreigner can own a condominium unit outright (freehold) in Pattaya, as long as the unit falls within the building's foreign ownership quota.
Thai law lets foreigners freehold-own up to 49% of the total sellable floor area of any condominium building. Units inside this share are marked Foreign Quota (FQ); the remaining 51% is Thai Quota (TQ). Always confirm a unit is available in foreign quota before you commit.
Thai-quota condos and houses/villas can still be secured by foreigners via a registered 30-year leasehold or a Thai company structure. Foreigners cannot own land in their own name, so most villas are leasehold.
For freehold registration you must transfer the purchase funds into Thailand in foreign currency and obtain a Foreign Exchange Transaction (FET) form from the receiving bank — the Land Office requires it.
This is general information, not legal advice — always use a licensed Thai property lawyer for due diligence.