PID control of DC motor

Yes. If you are operating at the setpoint with zero error at steady state, only the integral term can possibly contribute to the output. PID systems with bumpless initialization/transfer use that fact to initialize the integral term such that integratedError = Output/Ki. The arduino PID library author explains his implementation of bumpless transfer here:

http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-initialization/

If there is any error or process disturbances, the tuning of the terms and their interactions is important. If you aren't completely rigorous about tuning, many implementations often depend heavily on the P term and set the setpoint a little higher than the actual desired setpoint, and rely on output = Kp*error to do the work. Cruise controls on cars often do this--you can't set the CC to an explicit "65mph", you just get controls to bump the unseen setpoint up or down to visually make the actual speed as desired, and accept some slop around it as the load changes when you go uphill or downhill. Relying on the P term instead of the I term trades off some of some level of error for more robustness.

I've got some Wokwi simulations of PID systems in this thread: