I have often wondered if it's possible to establish a Buddhist account of ideology.
As soon as there's a paradigm of the illusory and reality, which of course is the central paradigm of all Buddhisms, it's fairly natural to wonder about the mechanics of the illusory.
Some rambling thoughts:
I suppose an ideology could start with a virtuous mental factor such as non-violence, and develop from there. It could also come from a 'klesha'/negative mental factor such as attachment to one's own kind. Either of these are samsaric, in the case of the former it would be so unless the underlying motivation was liberation/enlightenment.
But as far as I can tell even if it springs from enlightenment, the moment its interpretation falls into the hands of those who don't have the same mental factor or clarity dominating their minds then what is represented will be subject to distortion from what was originally intended. And then there are cultural and temporal factors of expression which might tamper with the original. These latter two certainly belong to the category of the illusion-like, if not delusion.
For example there are some learned and respected scholars of Pali who claim that quite a bit of the extant Pali scripture is subtly slanted in a different tone to what the Buddha actually said; I could, for example, conjecture that as it was written down many years after the Buddha's parinirvana it might be possible that some cultural shift affected it. (google Richard Gombrich).
The argument against that would be that it was a council of arhats who committed it to memory etc. In Mahayana (Tibetan and otherwise) there is a great emphasis on the realizations of masters who wrote commentaries, and even amongst them there is debate.
The situation with samsaric ideologies (communism etc) is far worse, and as human conceptual intelligence is so inventive, the possibilities for distortion are endless once delusions are reinforced and widely accepted. Even if we discount conscious acceptance of deluded view, our samsaric conditioning (for example if you are born and grow up in a specific milieu) can lead us anywhere if we don't make a strong, concerted and intelligent effort to overcome it (for us here, that would be the practice of Buddha dharma).
"Reality", absolute or conventional is not easy to access.