If I remember correctly, fatal insomnia shares most symptoms with other prion diseases (in which there might be no lack of sleep involved), so it's probably the brain damage that causes death, not insomnia itself.