Thinking about revenge as buffering?

When I have thoughts about someone that make me feel angry, I’ve noticed that my usual action is to fantasize about getting revenge or telling them what I think. Is this buffering against the anger? The result is usually that the anger is increased when I imagine their response.