I haven't completely revised a monster to make them benign, but I have created instances where I've turned a monster on its ear, so to speak. Especially since I DM Planescape, where often things aren't what they seem.
We did have a party that befriended a troll in the original Temple of Elemental Evil -- I still remember the ranger and the troll holding the doors against the invading ogres -- sort of a "we're all in this together" thing.
And we do have a campaign that has a LG Green Dragon NPC -- alignment changed by magic, though.
That troll you mentioned reminds me of books from my childhood, like
Giant John and
The Laughing Dragon