No, you have to buy it. It's on Steam for around $6.99.
One catch worth knowing: Garry's Mod is a sandbox that runs on Source assets, so you also need to own at least one compatible Source game for it to work.