I've been getting really few sleep for the past months, can sertaline be the cause?

Definitely. I think you mneant sertraline. You can find a lot about this drug onh wikipedia. All drugs have side effects and you have to balance the reason that you are taking it against the side effects. Ask your doc for a change.In med.