In Japan, your work visa belongs to you. You’re free to quit your job immediately upon getting your visa. It’s mandatory to notify immigration of changes to your employment status within 2 weeks but they’re not deporting you just because you switched jobs.
I used to work as a contractor in the earlier stages of my career, that meant that sometimes jobs only lasted 3 months.