No, you do not.
Deathmatch is available as a standalone multiplayer component, so owning the full Half-Life 2 campaign is not a requirement to jump into it.