Yes you can eat fruit that has mold on the fruit.
When eating fruit that has mold on it just take a knife and cut off the moldy parts of the fruit and then eat the rest of the fruit.
The rest of the fruit without the mold is safe to eat but you should never eat the moldy part of the fruit as the mold on the fruit could make you sick.
There's no need to throw the entire moldy fruit out though unless the fruit has mold on it all the way through or all over the fruit.
If the fruit is completely moldy then you should throw it out and not eat it as it could make you sick.
But if there's just small parts of mold on the fruit then cut the moldy parts off the fruit and then you can safely eat the rest of the fruit.
I do this a lot when I have some fruit that gets moldy I just cut the mold off and eat the rest of the fruit.