Place chicken legs in a deep, large baking dish. Massage 1 tablespoon olive oil onto each chicken leg. Squeeze lemon juice over the chicken. Arrange lemons around the chicken.
Mix oregano, basil, garlic powder, salt, and pepper together in a bowl; sprinkle evenly over each chicken leg, flipping the chicken to season both sides.
Cook chicken in the preheated oven until no longer pink at the bone and the juices run clear, about 1 hour 15 minutes. An instant-read thermometer inserted near the bone should read 165 degrees F (74 degrees C).