I feel this in my soul. I thought I could replace a door in a day, but months of fiddling, I discovered by frame is not only a parallelogram but it literally shifts by over an inch between seasons. (~100yr old house 2nd floor)
I wonder if this could all be solved if doors are triangles instead of quadrilaterals.
That’s why most doors come prehung in a jamb. Just add shims and then cover them with trim.