Heat olive oil in a large skillet over medium heat.
Sauté onion until softened and lightly golden, about 4 minutes.
Stir in garlic and red pepper flakes; cook until fragrant, 30 seconds.
Add tomato paste, oregano, and thyme; cook, stirring, 1 minute to caramelize.
Mix in sun-dried tomatoes and a splash of broth to deglaze the pan.
Pour in remaining broth and the cream; bring to a gentle simmer and thicken for 3 to 4 minutes.
Fold in chickpeas; simmer until hot and coated in sauce, about 5 minutes.
Stir in Parmesan until melted, then add spinach and cook just until wilted.
Finish with lemon juice, salt, and pepper. Garnish with basil and serve.