I think this might be a step in the right direction:
http://codex.wordpress.org/Plugin_API/Filter_Reference
Specifically the the_editor_content
filter which is “applied to post content before putting it into a rich editor window.”
Sorry I can’t flesh it out more for you but I am just starting to play around with filters myself and have miles to go before I can be useful.