Yes, certain essential oils emit scents that flies find unpleasant, making them effective repellents.