Preheat your oven to 350°F and line a baking sheet with parchment paper or a non-stick baking mat.
In a bowl, use a fork to mix the mashed beans, grated sweet potato, paprika, turmeric, cayenne pepper, oregano, thyme, salt, sunflower seeds, green onions, egg, and oats.
Divide the mixture into 8 balls and flatten them into patties on your baking sheet.
Bake the patties for 15 minutes, flip them over, and bake for 15 minutes longer.
To make your spread, mash the avocados and stir in the pico de gallo.
Place your patties on the hamburger buns with a spoonful of avocado spread and enjoy!