I have been having sinus pain and pressure and days where they are swollen. I also have chronic insomnia. Would a doc prescribe tramadol to treat both?

Treat the cause. Tramadol is a pain med, and does not treat the cause, you need an evaluation for what's causing all this and treat the cause. Please see your physician.