Preheat your oven to 400°F (200°C).
In a large bowl, combine the olive oil, garlic powder, onion powder, smoked paprika, salt, and black pepper. Mix well to create a marinade.
Add the chicken thighs to the bowl and toss until they are evenly coated with the marinade. Let them marinate for at least 15 minutes (or up to 2 hours in the refrigerator for more flavor).
Place the marinated chicken thighs in a single layer in a baking dish.
Pour half of the barbecue sauce over the chicken, ensuring each piece is well coated.
Bake in the preheated oven for 25 minutes.
Remove the chicken from the oven and brush the remaining barbecue sauce over the top.
Return the chicken to the oven and bake for an additional 10-15 minutes, or until the internal temperature reaches 165°F (75°C) and the chicken is caramelized.
Let the chicken rest for 5 minutes before serving.