Yes, but there will be differences.
Nonfat dry milk contains over 5-6 times as much lactose as whey
protein powder. This will give a sweeter flavor to food. Also, the
protein found in nonfat dry milk is only 20% whey protein. The
other 80% protein is made up of casein, and will give a much
different texture if the food is acidic.