Yes, that’s possible. But be careful not to squeeze or eat the fruit. This is how you stay in fasting mode.
During your fasting period you don’t eat anything, but you drink enough fluids. Water (still or carbonated), tea (non-flavored herbal teas) and coffee (black) without any additives are allowed.