I have a custom widget that moves another DOM element, like a table, from the groupbox body into the header. Basically, anything can be in there but it seems to work best if contained by a table. I never got around to publishing it as it felt like going against the tool. Still it seems to work just fine.
If anyone is interested in this workaround and there is no objection from Mendix, I will be happy to publish it.