There are many and various ways to look at Dunes narrative, in both book and film form. It’s difficult to categorize really. Dune could be viewed as a straight up space opera in the vane of Star Wars but I feel like that’s the easy answer. Frank Herbert was developing his ideas for the novel back in the mid to late 1950s, so Star Wars’ concept of a “space opera” had not yet come about. When creating his story Herbert was able to look past the tropes of the time and take inspiration from older sources, such as ancient Greek myths and plays, in fact the novels are littered with reverences to Greek literature, for example the Atreides are said to be decedents of Agamemnon.