So I have read that we should not eat 2-3 hours before sleeping. If I workout in the evening, does that apply to me too?
If you can sleep easily while still digesting a meal, go for it.
There's no harm, other than the potential loss of sleep. Try it out, and see how your body deals with it. If you still wake up well rested, it's fine.
It's common to wake up and have to use the bathroom if you ate a meal just before bed. It's also pretty common to experience nightmares because your body isn't completely at rest.
But bottom line is; try it, and see for yourself.
Eating late suppers are discouraged for sleep disturbances and also for weigh gain. Digestion take about 4 hours for the food to leave the stomach. There sleeping 3-4 hours after supper enable the stomach to rest and thus ensure your good quality sleep. It has been noted that people who do not sleep well tend to gain weight (http://www.ncbi.nlm.nih.gov/pubmed/23319909). Therefore sleeping well is pivotal for even ensuring we lose weight. Since people tend to sleep only after exercise therefore the calories consumed might lead to weight gain. In you case since your exercise late you might use up some of the calories , however depending on what you have eaten you might still not get good quality sleep due to a busy stomach. Therefore keep exercising and just sleep 3-4 hour after supper to maximise on maintaining a healthy weight.
When you eat the right amounts of the right foods, your blood sugars stabilize and your fat burning hormone glucagon can do its job (i.e. burning fat!!). When you skip the bedtime snack, your blood sugar crashes shortly after you fall asleep, and you don’t sleep well and pack on the pounds. So yes, skipping your bedtime snack can actually cause weight gain. And consuming a nicely balanced bedtime snack can promote weight loss.