Could my recent nightmares be from vistaril (hydroxyzine)?

Yes. Vistaril (hydroxyzine) has the potential to alter sleep architecture, which includes rem sleep, where dreaming occurs. The potential to induce vivid or disturbing dreams is a potential side effect of many different medications.