This should be true. Scientists very often have the idea of self-censure because they understand whether or not their research could be potentially dangerous, for example, if they understand that their creation could be a terrible weapon they decide to not pursue it and abandon the research. Things get nasty when they don't do it, but almost anything can be exploited so they sometimes don't even understand in what ways their research could be exploited. If ideology starts banning scientific research because of ideological differences, then it's similar to how the church killed scientists in the medieval era because scientists opposed what was essentially ideology at the time.
I would say the author uses irony in this passage that remembering his mother makes him not happy but miserable which may be the opposite of what is expected but he would rather suffer this than be happy in forgetting her as this latter feeling would be expected to make him sad.