Yes, nationalism can be classified as an ideology. Nationalism may express itself as part of an official state ideology or as a non-state popular movement and may be expressed along civic, ethnic, cultural, linguistic, religious, or ideological grounds.