Lots of people do that. Its really a good idea to add flax oil to your shake before going to bed. The flax oil will slow down the digestion of your shake thus giving your body greater benefits.
so if your body benefits from slower digestion of protein throughout the night, is it not a good idea to take whey, which i understand to be absorbed immediately if taken about an after a workout?