The output of recipes is saved as HTML and then processed by the rest of the conversion system. You can certainly write an arbitrarily complex recipe that does whatever you want and then use it with the feeds2disk command to output, but you're on your own doing that