People who experience violence from <race> might well feel hatred for <race>.
That doesn't mean that when they state "I hate <race>" they are not being racist.
You can make up all sorts of excuses for racism and sexism and all the other -isms. They don't make it right.
Yes, if you apply this logic, you'll reach this conclusion. I don't think this is equivalent to racism though. The latter is rooted in violence against the hated, not the violence of the hated.
The problematic racism is when people hate <race> despite <race> never harming them in any way, usually because that helps them justify systemically disadvantaging <race>.
You don't make the distinction, and draw equivalence between the two, so for you it's equally bad, I understand that.
https://www.theguardian.com/commentisfree/2006/nov/02/whyiha...
https://www.theguardian.com/world/2020/sep/10/french-writer-...
https://www.quora.com/Why-is-The-Guardian-so-increasingly-mi...