Most Japanese visas regulate the type of work that the visa holder is allowed to engage in.  For example, a foreign resident of Japan with an Instructor visa would not normally be allowed to also have a side job as a cook.  However, by making an application to the Ministry of Justice, it may be possible to waive these restrictions.