Tirini muscolari. Effetto collaterale della Sertralina?

Hi, I have been on Sertraline for about 5 months and on 200mg a day for about 2 months. For the last couple of months or so I have been really strong muscle jerks in my feet, shoulders, arms but mainly my thighs ( in different areas of them. Mainly whilst at rest and sometimes whilst attempting to sleep. I sleep very poorly and sometimes go 24-48 hours without any. Could it be the Sertraline ? Has anyone else experienced this ? It’s so annoying but not painful.