Is exercise an alternative treatment for chronic insomnia?

Is exercise an alternative treatment for chronic insomnia?