Yes, lampreys and hagfishes are both members of the class Agnatha.
Agnatha is a class of jawless fishes with a more primitive skeletal structure than other fish groups.
- Lampreys: Parasitic, attaching to other fish to feed on blood
- Hagfishes: Scavengers that feed on dead or dying marine animals
Both have elongated, eel-like bodies and lack paired fins. They are considered among the most primitive of living vertebrates.