Yep, collapsible items can have any content.
Even input elements like input/text and input/hslider: . Later one has this element x as a "buddy".