When in Preview mode, there was the option to add and run a Power Automate Flow directly from a component in the context of a component Library.
This feature did not made it to GA and it was added as a known limitation. However, this feature is useful and fits perfectly in the component library goal to "reduce duplication of efforts by eliminating the need to copy/paste controls and improving performance while helping create collaborative development and standardizes look-and-feel in an organization."
A workaround exists and was shared in this post, but is not optimal.