No you have it in reverse...
Knowledge or science use and benefit from active imagination but cannot replace it or even do without it...
Then ultimately it cannot be more than that... The only exception is specialization of knowledge and applied knowledge coming from specialization .... But knowing everything about a detail is like knowing nothing... True science and poetry walk together...
Buckminster Fuller an architect and an engineer of the highest creativity think so ...Freeman Dyson too ...We need good engineer with not too much imagination yes but... We need more visionary if not we are stall where we are ...
No doubt imagination is part of scientific discovery. Can’t say otherwise! It just ultimately has to be more than that.