Is it possible to add marginal plot with graph objects?

Hi,
I’m using graph_objects for a histogram plot and cannot find how to add a marginal=rug option.
Is this option unique only for plotly express?

I can probably recreate it with subplots and scatter, but wandering if there is a flag I missed?

I started plotly a month ago and I was under the impression that express is more quick but less customizable, the more I work it seems express is more versatile with better documentation, and maybe should be my default, any comments?

Thanks