Function return value as panel display

Function return value as panel display

Is it possible to for a panel to run a function on load event of a page and display function return value rather than value for a table. This may be possible via ZML but it would be great if Creator supports this feature.