Yes. Most who eat fruit only for a few weeks lose weight quickly. Almost as fast as if they ate nothing-- fasting. But everyone is different so some lose it slowly but it is still quicker than with any other method. It is healthy. Many raw food people eat almost all fruit. Try it. I just ate a grapefruit, an orange, an avocado and a banana. This is the food of Gods since it tastes so good.
But one kind of fruit is bad for you so never eat it. That is unripe fruit. No green bananas or avocados as hard as a rock. Eat fruit on an empty stomach not after other foods since it will not digest right. This site Strategies for Losing Weight has lots of tips on losing weight including how fruit and raw foods can help you lose weight and how.