There are two supplements that may work, one is magnesium and the other is b complex. However in most cases, even with healthy eating a majority of healthy eaters eat food that are really not healthy at all. This includes such common foods as tomatoes, potatoes, cheese, all wheat product, fruits, peppermint, mushrooom, yeast and yogurt as the primary problem.
For most instance whenever a brain's acidity is high, or the oxidation of brain is high such as high heavy metals, eating cilantro may remove some of that, a carbicarb remedy is the only remedy i know that helps acid brain problem, but the newer remedy is 1/8 teaspoon of sodium carbonate and 1/2 teaspoon of potassium citrate in 1/2 glass of water.
Generally being the case a much milder remedy of 1/2 teaspoon of baking soda plus 1/4 teaspoon of potassium bicarbonate in 1 glass of water 3 hours before sleep may help. If not then brain detoxing maybe needed, such as l-carnitine supplements for example, before sleep. One aggravating factor is the chlorine and fluorine, found in both water we drink and toothpaste.
Quite often sound sensitivity (when you wake up at nights) is a magnesium deficiency, so 250-500 mg of magnesium gluconate or magnesium citrate, preferably may help.