Yes, I used to struggle with intrusive homicidal thoughts. These thoughts haunted me constantly and caused my first 4 psychiatric hospitalizations.
I met a lovely psychologist who did exposure therapy with me, and I learned to truly accept that thoughts are just thoughts, and it is OK to experience them in a non-judgemental way. I no longer struggle with this, but I totally understand it.