Lightly brush the mushrooms and the onion slices with a little olive oil on both sides. Sprinkle the mushroom and onion slices with 1/2 teaspoon of the salt and 1/4 teaspoon of the pepper. Keep the rest of the salt and pepper.
Heat a large frying pan or grill pan over a medium heat until hot. Add the oiled portobello mushrooms and let them cook until completely tender, for 8 to 10 minutes, turning once.
Once the portobello mushrooms are fully cooked, transfer them to a plate with the cavity facing up, and cover them lightly with a paper towel or a kitchen cloth to keep them warm.
In the same frying pan or grill pan, cook the onion slices until lightly golden on both sides, for about 8 minutes, turning occasionally.
While the onions are cooking, start preparing the avocado and the yoghurt sauce. In a small bowl, mix half of the avocado, the yoghurt, the finely chopped garlic and the remaining 1/4 teaspoon of salt and black pepper. Using a fork, mash everything together until smooth and creamy.
To serve and assemble your portobello burgers, spoon the onions and the optional roasted red peppers into the grilled mushroom cavities, divided equally.
Spread the smooth avocado mixture on the bottom of each bun and then top with the stuffed mushrooms. Top each burger with the remaining sliced avocado and any extra vegetable toppings you like.