Thanks for your time, I have updated the question and attached some pictures. The use of Bezier curves/control points is not bad, however it seems more fitting in curves/graphs on a plot or something, but it would be less convenient and impractical to reuse.
I was hoping that just like there is a dedicated property for rectangles to round the corners, there would be a similar property for arbitrary paths/n-polygons; just like it would be impractical to use Bezier curves whenever one wants to draw a simple rounded rectangle.
This isn’t supported natively in typst or cetz unfortunately. Some packages such as fletcher implement corner rounding for paths by calculating and placing separate line segments and joining them with arcs. If you have dashed lines, you need to additionally correct the dash phases for each segment to make the lines and arcs look continuous. If you have a strong stomach for scripting you can take a look at the source code for fletcher.draw-edge-polyline() to see how this can be done. Or perhaps you might want to try fletcher instead of cetz, depending on your drawing.