Import custom sidebearings

I make a rather complex font in Adobe Illustrator with many layers. Accordingly, I need the glyphs to be imported with the same sidebearings, with the same zero and metric. The method I am currently using is very time consuming. Now we have to use a stroke for each character so that all elements are inside this stroke. Then I manually remove the outer outline in fontcreator… Is there any way to do this with some guides at the time of import in AI?