Is it possible to counteract lean muscle loss during a low calorie diet through exercise?

Yes. Exercise especially resistance training with weights can prevent muscle loss while loosing weight/fat , while still taking a calorie restricted diet. Please ensure appropriate protein intake to maintain or even build muscles.