If caloric intake was higher sure. Muscle breakdown is easier than fat so is a prime target in starvation diets to get energy. Results in long-lasting problems for people who have experienced famine or eating disorders. More moderate caloric deficits are healthier for a reason but obviously takes longer to lose weight.
There's a lot of variability in nutrition that can impact things but generally protein in the diet helps maintain and grow muscle but doesn't affect that when your body is starving for energy muscle tends to go more than fat.
Nutritional fads including the current lots of protein one are likely bunk or only for certain lifestyles.