Eating local has a very small impact on the greenhouse gas emissions associated with food, because transportation makes up a small part (~10% on average) of the total. Most foods, avocados included, are sent via ship not airplane. The actual foods you choose to eat (e.g. more vegetables, less beef) has a significantly greater impact than where they are coming from.[0]
[0] https://ourworldindata.org/food-choice-vs-eating-local