No, these thoughts will not make you more likely to harm someone; just because you think something does not actually mean you will do it.
A few years ago, there was an OCD patient who had a fear that he would push people into a train, so he avoided train platforms. He did not want to push people into trains; he just had a fear that he might accidentally do it.
So he and his therapist walked down the block from her office and stood by the train tracks. When they saw that a train was coming, the therapist stood two feet from the track and had the patient stand behind her.
When the train came, the therapist had the man put his hands on her shoulders and then told the man to push her as hard as he could into the train.
The patient said that he would not do it, and the therapist told him repeatedly to just push her. The man refused each time.
Finally, the therapist turned around and said to him, “Do you now see that you are afraid of a thought and not of a behavior?”