I experimented with this a little in a game I was working on. You just need a standard way of displaying everything, then automatically generate the UIs.