a pizza has more in common with a lasagna than a pb&j, and a lasagna is unambiguously a casserole. therefore a pizza is a casserole.
a funny derivative of this is that a calzone, basically a pizza folded in half, is a casserole, not a wrap, even though it's literally wrapped