Yes, running a democratic country is possible with populations that have lower average cognitive ability and strong identity-based victim narratives India proves it has been doing so for 78 years.
It's inefficient, and often suboptimal, but it functions enough for continuity, elections, growth, and stability.
With low-effort scapegoating ("casteism explains all my failures") is understandable and points to real problems, but democracy doesn't require a high-IQ, rational electorate. It requires enough people showing up, basic institutions holding, and elites managing trade-offs