There was one example linked here How could I use a Page Control while I'm writing a script with my own Dialogs - #2 by errante - not sure if there are any others.
(I've definitely made test scripts that do it but I don't think I published any of them.)