Yes, in many circumstances.  The trade value may be greater if you trade in your automobile with the body damage unrepaired.
The dealer can not only observe the problem as it is, but they may also benefit by performing the repairs themselves.