@trapsarebetter
Legally, Japanese only requires people to attend school through the end of middle school. High school is technically completely optional, although the vast majority of people do attend.
With that in mind, it’s probably up to how much the school cares about their image - I’d imagine having students who don’t attend class would probably cause trouble when their scores on standardized tests are accordingly low so they’d have something to gain by kicking her out, but on the other hand they’re probably getting tuition money for her without having to do anything in return and so might be willing to keep her enrolled regardless of whether or not she actually shows up.
I met someone online who I thought was a guy but turned out to be a girl in which I had to crossdress in order to hang out with her so her parents wouldnt get too suspicious until my friend fell in love with me.