The test of your first paragraph is if the visitor says that when questioned on entry. It seems some countries don't care but if you said to a US immigration officer that you were planning to work in any form while in the country, you'd be on the first plane back without a visa, alas.