Technically yes however if you're a dreaded gaijin they will always find a way to fire you.If I'm remembering right, Japanese laws make it really hard to actually fire someone. Thus instead they just treat you like crap until you quit, or completely ignore you.
They even have a term for it: Oidashibeya or "the banishment room". Basically they give you an office out of view of everyone else and push off all the worst work they can on you on top of giving you zero support and treating you badly. Eventually, you'll slip up and be fireable or quit before you lose your mind.
Look at gundo mirei, she has yabs all the time and has even openly criticized niji for pushing people into idol roles and someone on here a few days ago mentioned other niji jp livers publicly talking about things they want to see niji improve on. And of course the niji en boys are given a pass because they bring in the fujobucks big time.