We need to talk about Offset


Yes it is possible. You can do that
Use Clipper
Make a small script that takes a polyline and extract arc or line.
I did that, and if tolerance for converting polyline to arcs and lines is more than 2 or 3 it works :

@visose did show a way to do it, but it is a bit too simple.

See Arc Welder