Thailand explicitly requires you to leave the country. There are companies that specialize in bussing expats to nearby countries.
I was on a proper employment visa 8 years, never needed to leave the country.
People who do visa runs are doing so to extend their tourist visas for cheap.
¹: I've done it before at Si Racha Immigration Bureau. In my case it was more expensive than doing a visa run or paying the fine for 3 days of overstaying, but it was less hassle and left a positive/neutral mark on my passport, not a suspicious one.
²: This can sadly also require bribery just to get them to do their job, even if you do everything by the book. People around us were bringing bribes in form of food. We weren't asked for a bribe, probably because the person I was traveling and applying with had an official passport.