Geometry Nodes

It’s fundamentally the same problem as here : https://blenderartists.org/t/geo-nodes-even-thickness-for-curves
Basically you need to take the angle of each point and use it to modulate the scaling. Ideally like Freemind said we’d boolean-intersect the curves with themselves