No it’s not possible to use this solution for autocomplete code/content writing but it’s quite interesting to think of the possibility. I wonder what would be required to make that happen and how it would turn out.
Also I’m not sure I understand what you mean when you say tokens, what are you referring to there?