The way I see it, Dark Matter is just a psuedonym for “Whatever is causing gravity to work differently at a galaxy scale than at a solar system scale”. And further, Dark Energy is just a term for “Whatever is causing gravity to work differently at an inter-galactic scale than at a intra-galactic scale or solar system scale”.
But, if we want to entertain the technical aspects of the thought, there’s nothing in the definition of Matter that says it interacts with anything besides gravity (light, magnetism, etc) on its own. Just that it has mass (ie generates gravity) and cant occupy the same space as other mass. We already know via colliders that the higs bosson is the sub-particle solely responsible for Mass, way smaller than the scale of an atom. And we also know that magnetism, electric charge, and by extension light rely on electrons, which exist only at the atomic scale. So its not implausible to think that mass can exist separate from any of the things that we can detect with our other favorite methods (pretty much just different wavelengths of light) besides just the gravity they generate. In this case, gravity IS the thing we’re using to detect it.