Freestyle svg question: export joined lines by object

Everything in the title. I really would like to obtain an svg with shapes groups separated by mesh objects. So I can open in inkscape or illustrator and finding separate levels or objects.
Do you know if it’s possible?