Not sure of the usual prevalence of these around the country, but I just had my first home visit in Nakhon Si Thammarat. This is after 17 years in Thailand and about 10 years on a non-imm type O (currently for retirement, previously for dependants) visa, with no changes or issues that should have flagged anything with immigration as being suspicious.
It turned out to be a form-filling exercise which took no more than 10 minutes. Two immigration officers in attendance, one filled out a form confirming my residency at the address and taking ID numbers from my passport/visa and my wife's ID card, which was signed by me and my wife and witnessed by the other officer. A few photos were taken, including one of me, my wife and one officer at the front of the house showing the house number. When asked, one of the officers confirmed that was as a direct result of the number of Chinese visitors found to be overstaying and/or running illegal businesses and had been ordered by on-high. It was suggested that this could be an annual visit. They were working through everyone in the area and had already visited other ex-pats in the area this morning including two foreign teachers at the local university.
So just a PSA in case this becomes a thing, and if people are wondering if that thing is happening to others. It may be perfectly usual for some, but this is new to me. That's all.