I say, do what you gotta do. You know you'll become dependent if you take it long term, but sometimes you just have to survive today and deal with tomorrow when it comes. I presume you've tried other sleep aids, so I won't lecture you. Sleep deprivation can be quite a threat to your health, both mental and physical.
Maybe after a few weeks of good solid sleep you can taper off to every other day or something. Hopefully, your pouchitis gets under control so you don't need sleeping pills!
Jan