No. Harvest only works when the Pokemon uses the berry. if it is stolen, knock offed, or consumed by the opposing Pokemon harvest will not work.
Source: http://bulbapedia.bulbagarden.net/wiki/Harvest_(Ability)