I hunted around quite a bit, and didn’t find anything which seemed to do what I needed to (proof of concept to cleanly and fully convert various ESRI shapefiles consisting of nothing but area polygons to OSM format) so I cobbled a solution together.
Did I miss something, and this was readily doable without much effort, or is this something I should make a bit more polished and publish someplace?