Can statin cause insomnia?

Yes. Happened to me with 2 different ones.
Not typically. Insomnia is not a common side effect of statin drugs.
Statins. Difficulty sleeping is a reported side-effect, also headaches, flushing of skin, dizziness, cramps, nausea/vomiting.