Tramadol is technically not a narcotic but it binds to the same mu-receptors in the brain as opioids. So no it won't help with the withdrawals if you're trying to get clean. When I was on a low dose of Vicodin for my chronic pain years ago, I would you tramadol to hold me over for a couple of days and keep the w/d at bay. Other than that you're just replacing one drug for another. We all wish there was a miracle pill that made detox easier but unfortunately there isn't.
I wish you well on your journey to sobriety and hopefully this'll be the last time you have to go through this.