Insomnia may be associated with serious health risks, new research suggests.