Visualizing something helps you accomplish goals. Imagination can also be a helpful tool in many ways. In and of themselves, there’s nothing wrong with visualization or imagination. Now, if you’re imagining yourself doing some seriously questionable stuff, you might have grounds for concern-- Matthew 5:28 and all that-- but otherwise, no.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.