Sure. There is no difference between windows with or without lauyouts...
There is also no magic about layouts:
WithMyDialogLayout<TopWindow> w;
This only adds alls widgets of layout as member variables of a new class derived from TopWindow (and yes, TopWindow is not mandatory, you can use any other base).
CtrlLayout(w);
This sets properties of those widgets as defined in layout designer - it includes positions as well.