It is not the best idea to drink a banana shake before going to bed because the banana mixed with milk and sugar digests fast and provides you with instant energy to keep you awake. However, you can eat a banana 30 minutes before going to bed because the banana digests slowly and the magnesium present in the banana ensures a good sleep.