is japanese society like this for real or is this just an exaggeration?
"出る釘は打たれる", Wich corresponds to "The nail calls the hammer".
Even today but probably to a lesser extent, if you are not in the norm, if you are different whatever be the difference, the society will pressure you into erasing your difference.
It could be "simple" social pressure or advanczd bullying.