Not a solution, but something which may be of some help is to know that rest is still very good for both brain and body. It's not the same as sleep, but just lying down with your eyes closed does provide some restorative benefits, so if you can't sleep, it's worth just keeping your eyes closed and lying there, rather than reading, etc.