As long as <> and {} are not used in the game and they don't mess with the code if I use them, that would work, yes. :)
But I'd make it:
q=ĉ
w=ŭ
x=ŝ
y=ĝ
<=ĵ
{=ĥ
ŭ is basically a w sound, and ĉ and ŝ correspond to q and x in Chinese pinyin. For the other three, ĝ is common, ĵ is uncommon, and ĥ...