HTML Template with InDesign?

Is it possible to create a dynamic text template in InDesign and export as html for use in CasparCG? I know I can use After Effects and Bodymovin, but for simple text templates without animation it would be great to be able to use InDesign och Photoshop.