Hi,
At my previous employer i made a code generator in BluePrism, based on the application modeller, to generate components, objects and subprocesses. As far as i know there is no commercial tool available.
https://medium.com/roborana/bots-building-bots-a76656fe76a6