A tub can easily be heated with a heat lamp. You will need the light suspended so a lamp stand(ZooMed $20 at pet store) or other device would be required so the lamp doesn't touch the tub and melt it.
In a pinch I had to do this once and it actually worked really well. The light brought my ambient up and even gave the required hotspot. I was using a really long under bed tub so it offered enough room for a nice gradient. I bet for a smaller tub hanging the bulb evenly above the tub and turning the bulb down with the dimmer you already have would dial you in pretty easy.
Remember to start the lamp a good distance away and on the lowest power. Then slowly inch up the power giving atleast an hour between to see what your numbers do before raising the power. It needs to be a slow process. It would be best if the snake was elsewhere while you dialed it in so be super attentive during this process.