As long as you adhere to the key factors, which are resistance training with progressive tension overload, calories surplus and sufficient protein intake, muscle mass will grow. However, in general a keto diet may be suboptimal for muscle hypertrophy compared to a normal carbohydrate diet.