Not through legitimate means. Left 4 Dead has no official unlimited-ammo cheat, and the game is designed around scavenging and sharing supplies with your team.
What you can do is experiment in single-player or local server settings, where developer console commands let you tweak the sandbox to your liking. That is a practice tool, not an advantage in public matches, and using outside software online will get you banned.