You can definately get insomnia from using cocaine
. You didn't ingest a large amount unless it was really good and you did it all at once. It can also raise BP and heart rate. Since you've been drinking and apparently sweating really hard, my advise is to try to drink a sufficient amount of water. You are probably dehydrated now. You need to think less about sleeping and more about your body.
As long as you don't have any pre-existing insomnia problems, my bet is that you will be able to sleep in a couple hours. Cool yourself off and drink water.
Have something salty to eat with protein as well. That will help