Trying to achieve something like this text treatment, but not sure where to start.
You can use a displacement map in Photoshop.
All you need is a greyscale image to use for the displacement; which you need to save as a PSD in greyscale mode (Image → Mode → Grayscale). Then go to Filter → Distort → Displace… on the layer you want to distort, hit OK and choose your displacement image PSD.
Take this quick example:
With this as a displacement map:
Which gives us this: