You may be interested in how I have started using AI to do this. An example of the result is at
https://www.wikitree.com/wiki/Joy-3134.
I simply copied all of the source information that I have gathered into a text file and prefaced that with a prompt and, with a little editing, that was the result. Not quite how I would have written it but not too bad I think.
Most of the editing was consequent on the prompt asking the AI to identify any data inconsistencies (inconsistent census data age records, name spelling, etc) and write them up thus clearly identifying them for clarification.
Of course I had to add refinements and sources to the narrative but a good part of the work was done quickly and easily. I plan to develop this tool progressively but it looks like a big step forward in productivity.
I have also played around with asking AI to add social and industrial context and it looks to have potential
If you are interested in details of the prompt or other information, please ask.