I noticed recently that hugo starts to add more asset processing like babel/postcss. Maybe these can be rewritten to use plugin instead and allow much more flexibility
No there is no way to do what you ask.
P.S. I moved your post to its own new topic, because the other one was very old and hadn’t seen any activity in 2 years. We discourage bumping of old topics in this forum.