A recent study has proven the connection between insomnia and type 2 diabetes. People are found to have a greater risk of developing diabetes if they suffer from a lack of sleep. But how does insomnia cause diabetes? Can diabetics take sleeping pills to address this? Let’s find out.