Answer
No. The ArcIMS 4.0.1 installation program will uninstall ArcIMS 4.0 if it finds it on the computer.
If, however, ArcIMS 4.0 components were distributed among several computers, it is recommended to manually run the uninstall program on each computer.