Sounds like you are asking whether or not you are able to remove drivers from a DISM (formerly ImageX for all you old folks!) created .WIM image.
To answer your question quickly, the answer is: Yes!
To answer your question more verbosely, the answer is: Absolutely, yes!
The operation you are interested in performing is a two part process:
see the official Microsoft instructions here:
First, you need to use DISM to mount the offline image. This is achieved by using the DISM command with the /mount-image switch: example
Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:"Windows 7 Image" /MountDir:C:\test\offline
Special notes: The /mountdir you declare is a FOLDER, install.wim is the name of the .wim file you are servicing.
Second Use the /Remove-Driver switch: example
Dism /Image:C:\test\offline /Remove-Driver /Driver:DELL1.inf /Driver:DELL2.inf
*Here you are removing the drivers DELL1.inf and DELL2.inf, you need to know the name of the .inf file that you wish to remove and it is done individually. If these drivers were originally installed using an .exe, you can always un(7)Zip the .cab file and Sometimes works .exe file for the installer to find the names of the .inf files contained.*
Don't forget to /unmount-image and /commit
Dism /Unmount-Image /MountDir:C:\test\offline /Commit