What you suggest are types of mind manipulation and behavioral conditioning. Teach people how to think, not how not to think.
Whenever the topic of racism is brought up, no one actually discuss racism but the perception of it, which means that if I perceive person X to be a racist by definition I made up for myself, then person X is racist without him being able to defend himself against the accusation because any argument can be turned back on the person, claiming he is unconscious about his racism or that the fact he forms an argument against your perception, just illustrate why your perception is accurate and valid.
There are true racists out there, in the world, it’s more important to put them under the microscope, instead of some random individual who may or may not have an unconscious perception of race.