After aerobic exercise, the body will consume a lot of energy (including carbohydrates and fat), which needs to be supplemented in time. As long as the energy intake is controlled, it is beneficial and harmless to lose weight.
It should be noted that fruit cannot replace staple food. If it's an extra meal, of course.