I had a gnome mage whose entire concept was hitting his allies with fireballs by mistake. To simulate his accuracy, I would hotkey the spell, and click madly while spinning my mouse cursor in circles while my eyes were closed. Good times.
Also, you aren't the only one with friendly fire mistakes. It's part of the game (Yeah, I am looking at YOU Eraamion! You know what you did. and I remember it.)