That makes no sense at all
Perhaps you'd realize how foolish that notion is if you understood how the body deals with food even on a very very basic level but i'll cut you a break because I know you posted in another thread that you were only 15 years old. Keeping it relatively simple I'll say this: Your body has the ability to interconvert all three macronutrients into whatever it needs. This is HIGHLY simplified but I'm using it to illustrate a point. The fact is that the amount of calories you eat before bed and the rate of digestion of those foods has more to do with how much muscle tissue is broken down and lost during sleep than what macronutrient profile the food itself has. Once again this is simplified just to prove the point.