can we just change pitch without changing length of a sample?
Yes, this is possible. Have a look at the language reference for sample - see the pitch: opt.
You can also use the :pitch_shift FX.
(Btw, I’ve moved this thread to the Support, Help & Resources category, since that’s a better fit).