I came up with a variant of this idea in an interview once. It did not go over too well. :)
E.g. given character set a-z, 0: a 1: b 26: aa 27: ab
etc.
I probably had no idea what the interviewee was suggesting and tried and failed to explain my question any better.