Preheat the oven to 425°F.
Pat the chicken breasts dry with paper towels and place them in a large baking dish.
Drizzle the olive oil over the chicken and rub it evenly on all sides.
In a small bowl, mix together the salt, black pepper, garlic powder, onion powder, thyme, and rosemary. Sprinkle the seasoning mixture over the chicken breasts, ensuring they are well-coated.
Arrange the lemon slices on top of and around the chicken in the baking dish.
Roast in the preheated oven for 35-45 minutes, or until the internal temperature reaches 165°F and the skin is golden brown and crispy.
Remove from the oven and let the chicken rest for 5-10 minutes before serving. Garnish with fresh herbs if desired.