Only if it's so immersive that it feels more real than reality. If you can at all tell that it's not "real", then it all falls apart.
One of the core concepts of Rob Burbea I mentionned above is the idea of "imaginal middle way", which, in short, consists in seeing mental images as "neither real nor not real", "simultanously discovered and created". Going deeper into that topic would require way too much text and time for a simple comment here, but I can tell from experience that this way to engage with imaginative faculties can have deep and long lasting effects. And the important aspect here is that, while engaging with the image, one is constantly balancing between reification (considereing the image, for instance of a divinity, as having independent reality) and disdain (considering the image as "just made up").