What if students wrote a student ID number on their tests instead of their name? Teachers are unlikely to memorize every student ID. They could still go out of their way to find out whose test is whose, but it would eliminate subconscious bias. That or make everything a scantron test.
I'm sorry but you do realize that a lot of abusive men straight up KILL or stalk the women they've been with when they leave? Women do that too, and are more likely to get away with it.
If you have a bachelor's degree, you can probably get a work visa. You could live there indefinitely as long as you renew it. If you live there long enough and meet the requirements, you can get permanent residency. https://blog.gaijinpot.com/japans-new-permanent-residency-rules-explained/