Roughly speaking no, though in theory you could edit the exported XML. It'd probably be easier to just revert the templates after import (via the customized components page).
Saying that, given your comment about it being a child style, by default, it will only include the elements directly customized in that style. If your template edits are in the parent style and you've just changed properties in the child, that will only export the properties (unless you select the independent export option).