Yes, heavy metal exposure is linked to insomnia. Metals such as lead, mercury, and cadmium can accumulate in the body and interfere with neurological functions. They can impair the production and regulation of sleep-related hormones and neurotransmitters, leading to sleep disorders including insomnia.