Dreams are dreams -- they don't have to make sense.
Of course, taking into consideration the whole "forced celibacy" thing the Jedi have going on and all the sexual frustration that must arise from that, I wouldn't be surprised if Annie's subconscious mind pulled up images of usually-chaste nuns giving in to their primal sexuality during sleep.