Preheat the oven to 425 degrees F (220 degrees C).
Mix the sugar with the chili powder, if using.
Line a baking tray with foil.
Peel and remove the pit from the avocado and cut it into 3/4-inch (2cm) lengthwise slices.
Slice through the middle to cut all of the slices in half so that you end up with thick avocado chunks.
Cut each slice of bacon in several pieces and wrap each piece around the avocado.
Roll them in the brown sugar mixture (if using) and arrange on the baking sheet.
Bake for 12 minutes then remove to a platter and stick a toothpick into each for serving.