Automatic overview of components / pattern library

Hi,

is it possible to create a overview of all existing components with all variants on a page without adding them manually?
My goal is to create a “styleguide” or a pattern library for all components. So I want to have an overview of all existing components and I want to show the code of the component below the component.
Or has anyone created a pattern library with brXM?

Thanks