That's a famously bad idea.
[
- It's illegal. Working without a work visa
- It puts you in a very precarious situation. All that's required to jeopardize your stay is a suspicious immigration officer. Since you probably can get a visa on arrival, you're at the mercy of the immigration services every time you cross the border. And if you need to apply for a visa from a Consulate, it's even worse.
- There's no better way to be red-flagged as an illegal "casual" worker than stay the full duration of your visa every time, and repeat that continuously.
- If you are planning to do border runs, coming to Tanzania from five of its neighbouring countries requires a yellow fever vaccination. Ouch.
- The population's attitude towards LGBT could put you in danger if you're heterosexual (not making any judgment or assumption here).