I know that telecommuting in Japan is okay, even on a tourist visa. If you are not doing work for a Japanese company, you do not need a work visa.
But as far as laws regarding camming in Japan, I do not know.
You have to consider that in Japan, producing, publishing, and distributing obscene...