You can create a post action on the firmware.bin file as shown in the docs and execute arbitrary logic.
You might need to use the newly available projenv environment (and only this environment, not others) for this, as showcased in Force RTTI from library? - #23 by cziter15.