I believe there's a cadquery workbench for freecad, I messed around with it about a year ago but ran into similar struggles as you describe. I'll have to give it another try.
https://github.com/jopdorp/build123d-freecad (it also supports cadquery)
Set it up today and I am really liking build123d in general. I've always wanted something code-based for CAD and I can't believe I missed something this promising.
Frankly even the visualization tools that you can plugin like OCP Cad viewer mean that outside of complex assemblies you can do everything in your editor of choice.
also worth a look: build123d