I came off xanax .5mg that I took 3 times a day for 2 months. It was a long painful process but I made it. Its very important to have a taper plan set up with your doctor. The taper is slow but don't rush it. I tried to and really paid the price for that. But def talk to your doc. They'll know best how to have you come off the meds.
Both those drugs are benzos which are very addictive. As said, you have to discuss it with your doctor. Those drugs were never meant to be taken long term since they start to change and mix-up your body's chemistry and then you find you cannot function and/or sleep without them.
It is really something you have to discuss with your doctor. It is possible to come off meds with lots of time and guidance of your doctor. I posted yesterday about how I want off my medication but had to sit back and think of what is really best for me. Good Luck