This isn't supported.

Only some extensions support passing sub-templates inside its properties, like pdf utils.
https://jsreport.net/learn/pdf-utils#api