This could be a no go? It seems a grey area at best. Especially if you are based within Thailand to check things like production quality and manage anything.
Also begs the question, if you’re producing here in Thailand, why not just legitimise the whole operation and get your work permit etc