No. The Sims 2 Pets is an expansion pack, not a standalone game, so it needs a base installation to run.
You will need either The Sims 2 or The Sims 2 Deluxe Edition on your machine first. Once the base game is installed, adding the Pets expansion unlocks the new content. Buying the expansion on its own will get you a disc that the installer refuses to recognise.