Many DSLRs have the capability to produce reference photos that can be used to remove sensor dust. For example, Nikon.
In addition, good film scanners have an infrared channel (Digital Ice) that programs like Vuescan can save as a separate grayscale image showing where all the dust and scratches are.
It would be simplify the workflow, and possibly improve results (if done right) if Photoshop/ACR/LR could make use of the DSLR reference photo or the Vuescan Infrared image to remove dust and scratches automatically.