Letters don't usually have great literary value, so writing in a highly literary style might look artificial. If you want to thank your teacher for your success in language, then I'd advise you to show how good a natural letter you can write. The way I'd try to show the literary component would be through a few discreet allusions to texts that you have covered.
