The use of Information Systems (ISs) utilizing Artificial Intelligence (AI) has expanded over the last decades, which has sparked discussion around AI’s impacts on societal structures, such as democracy. Yet, in the light of existing research, our understanding of the relationship between AI and democracy is limited. Hence, this paper suggests approaching the relationship from the perspective of AI ethics. A framework dubbed AIDEM is suggested to a) gain deeper understanding of the relationship and b) enable justified critique and further suggestions for ethical AI to avoid uncontrolled erosion of democracy. The framework is tested analysing ethical implications of the Spanish AI strategy in relation to Rawls’s theory of justice and their potential impacts to deliberative democracy in the Spanish context. The analysis shows the AIDEM framework has potential to achieve its dual objective, although an inclusion of various other perspectives is still needed to complement the present analysis.