I don't believe you can create group headers at run time. I'm afraid you will have to insert multiple copies of your group headers at design tim and suppress as needed at runtime. You can copy all objects at once from a group header and past into you new headers. The only limit is that graphic objects must be copies separately from all database and/or text objects.

Good luck