Nope, unless your country has a special arrangement with the country you are visiting, you cannot work with a tourist visa, at all. Does not matter if the company is local or not. No work visa = no work.
Oh wait
So you can't open your work laptop while on vacation?
You cannot always take the law literally....