I think this is doable and I recently tried, you’d need to write a script to generate the files
ea_reconstruction.mat only. In these files, you’d only need to fill the variable:
reco.mni.markers.head and reco.mni.markers.tail
These should be the locations of lowermost (head) and uppermost (tail) contacts.
As far as I assume Lead-DBS will create the rest automatically once you localize the electrodes the first time.
To do so, you’d need to load up a blank folder which has only the ea_reconstruction.mat file and run the visualization step.
Hope this helps!