Can a hysterectomy cause shorter vagina?

Yes. The vagina gets a bit shorter after a typical hysterectomy (1 cm or so). With a radical hysterectomy, a type of hysterectomy done for cervical cancer, it can get substantially shorter.