There’s enough use cases (not sure if it is in the 1000s, though).
There has been a discussion before about expanding the current Pygments-integration in Hugo to a general Exec shortcode, see:
Some use cases to be found in that and linked discussions. Some problems, too, the most notable one being security.
I think someone should make a small proof-of-concept to show how this would feel like.
Maybe a content handler, maybe something already supported by Hugo so we can see before/after; Blackfriday Markdown?