I guess so, but it's no wonder students are confused when you look at the way things are sloppily defined around the internet. Consider the Wikipedia page for
chemical compounds, which makes this distinction: "Molecular compounds are held together by covalent bonds; ionic compounds are held together by ionic bonds...." That's certainly confusing, since the presence of ionic bonds is only the minimum requirement for an ionic compound. Sodium chloride may satisfy this simple exclusionary definition, but sodium phosphate is held together by both ionic bonds and covalent bonds, so could, in principle, satisfy both of these definitions. The separate Wikipedia page dedicated to
ionic compounds is better: "a chemical compound composed of ions held together by electrostatic forces termed ionic bonding". It is better in that it indicates that the ions (be they mono- or polyatomic) are held together by ionic bonds, even if the constituent ions may themselves be held together by covalent bonds, although this is left unwritten in any explicit form.