Have you looked at @maui 's STEPUP for use with custom footprints? It integrates with FreeCad. Under the category of ‘take what you can get’. 
If you look at the plugins you will find some help though it isn’t direct documentation. The FAQ link above will get you to these. I think KiCommand(?) lets you do similar? Hmm… KiCommand doesn’t seem to be on this list.