The simple answer to your question is yes.
As long as you set up a heat gradient so the snake has a warm end a cool end then it really doesn't matter how you achieve that.
Some people use a smaller uth on the cool end to raise the ambient temps in a tank and it works fine, especially controlled separately with 2 t-stats![]()