Accent plugin

A handy plugin that would create a pane where one can click on different accented vocals such as á, é, í, ó, ú. Upon click the letter would be inserted where the cursor is placed on the text. Would such a plugin be possible ?

What OS are you using? Does your OS or keyboard region/layout not have a way of typing these characters?