Otherwise the big craze at the moment is to get Omata MATE's plug-in to tailor a solution for you - this plugin is an indesign palette that connects to a series of AI/LLM models that can prepare scripts directly into indesign that you can run. It's a paid script, but extends InDesign's functionality in amazing ways. https://www.omata.io/mate/indesign
If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!