In a small bowl, mash the roasted garlic with 1/3 cup extra virgin olive oil until smooth to form a paste.
Add the salt, 1 tablespoon black pepper, brown sugar, onion powder, smoky paprika, oregano, 2 tablespoons rosemary, 2 tablespoons chopped parsley, 2 tablespoons olive oil, and optional chilli flakes to the garlic paste; mix until combined to make the marinade.
Pat the whole chicken dry with paper towels.
Gently separate the skin from the meat over the breast and thighs using the back of a spoon or your hand, creating space to rub marinade under the skin.
Spoon and massage about half of the garlic-herb marinade between the skin and meat, spreading it evenly; rub the remaining marinade over the outside and inside cavity of the chicken.
Stuff the zested lemon into the chicken cavity.
Place the chicken breast-side down in the air fryer basket and air fry at 360°F (182°C) for 45 minutes.
Carefully flip the chicken so the breast side is up and continue air frying until the internal temperature reaches 175°F (79°C), about 10–15 more minutes.
Remove the chicken from the air fryer and let it rest briefly, then carve and serve.