Of course. And that still applies to Keto. Keto does not give you Carte Blanche to eat as much as you want. If you eat 5000 calories of fat, guess what? You're going to get fat. The key is, Keto makes it easier to eat a reasonable number of calories.
Reminds of of the guy who ate nothing but McDonald's for several months but lost lots of weight because he dramatically increased the amount of exercise he engaged in.
Years ago I read about the high calorie diet Michael Phelps used to consume while training. It was a daily total of ~ 12,000 calories, mostly from carbs. He was in great shape with exceptional blood work. Carbs are not the enemy. Total calories and a sedentary lifestyle are.