Is it wrong for me to walk between people in a hallway who are talking to each other
Why do you want to walk between people that are talking?
There is no reason behind it, I just wanted to insult them.
It is rude to get in the way when people are talking to each other. I think they will be more irritated than insulted.
So then they will know that they did something wrong after I do this?
Most likely they'll just be annoyed that you didn't have enough decency to walk around them. If you're angry with them for something it would be better if you just spoke to them about it. That way they know there's an issue and you guys can try to fix it.