Yes, I would say that Izanami is a villain in Persona 4. Despite being a goddess with intense connections to the birth of the Japanese culture, she is represented as a villainous character in the Persona 4 journey. She is the final boss and overarching villain of Persona 4 and Golden.