My geologist coworker said that agate isn't really a mineral either, mostly because it gets used too broadly and doesn't have one singular chemical composition.
Then again, I'm just an organic chemist, and classifying minerals seems suspiciously like biology to me...
opal is what happens when spheres of particular size pack in grain structures of particular size.
you get like interference making diffraction patterns, but not monochrome because pseudo (meta?) crytals of balls modify the ball modes. you can make opal from latex balls, it's just not hard or as pretty. .
Basically opal is just the earth playing with its balls.