in theory yes but at the same time you would have to reverse enginere it and have it reject the fruit flys dna strands
yes , it is possible through genetic engineering, but as orchard is in open, it will not work 100%, because from surrounding still it will get new fruit flies.