There are definately loop holes, they just cost a bit. Many people pay the Thai tax for non existent employees each month, so they get health care but not a wage etc..
You might be able to set a business up to build your house and put yourself as a manager, not on the tools. With 4 Thai staff to get your work permit. They are on the forbidden job list though so its tricky from then on i would guess.