If I am pushing a block with variable force, we come up with an equation where force is a function of position. But in reality, that makes no sense because it is my force that is causing a change in position and not a distance that is causing my change in force. The mathematics fail to account for the physical cause and effect.
If we look at a typical $F*d$ diagram, the independent variable is position and the dependent variable is force. I am arguing that the math should stay consistent with the reality and they should be switched.
I believe it also makes sense conceptually. As the change in force becomes infinitesimal, we will approach a fixed change in distance. The equation would look like: $$w=\int D(F)*dF$$ where D(F) is the distance at force F.
P.S. A point was made that many forces in nature are indeed a function of distance. I'd like to counter by discussing PV work. We know that for an ideal gas in a piston: $$w=\int P*dV$$ There is no question here that the only way work can be achieved here is that the pressure must change. This change in pressure will then cause a change in volume. Therefore, I propose that the independent variable should be changed to pressure: $$w=\int V(P)*dP$$
Perhaps the answer to my question has to do with the fact that pressure and volume are state functions while work is a path function?