I was thinking also when Geordi LaForge created Leah Brahmes to learn more about the Enterprise's engines... that didn't lead to ANY problems!
I don't remember that episode but is a no brainer to understand that mixing fantasy with reality has the ambiguity of being really nice or smoothing the path to catastrophe.