I do this ALL the time. I wrote letters to both my parents when they got a divorce, and at a number of other times (more like, milestones) during my life.
There have also been people that weren't majorly important to me, but they have upset or hurt me in one way or another. But to get closure, of sorts, I write the letter, rip it up, and I'm done.