Yep, I can anecdotally confirm as I’m on such a routine right now.
I started losing weight from severe obesity with a caloric deficit but noticed I was also feeling weaker in general (aside from the tiredness that comes with eating under your TDEE).
I started going to a trainer and he had me change my macros so that I was consuming about 200g of protein per day in addition to 4 days per week of full body workouts on top of my cardio.
Since then I’ve lost an additional 150% of my initial weight loss, and have gained moderate muscle mass on top of that.