Might be a bad idea. Especially with the weeds if there's a lot of them. Not only are they an entanglement hazzard, but you'll find that if you have to fight your way through them, and the fish will be nowhere in sight, even with good vis (> 2 ft).
One guy I overheard in a dive shop said his technique was to purposely send up a silt cloud as he went, keeping himself hidden inside the cloud, but close enough to the edge that he could see the fish outside the cloud. Well I tried that, and due to having to struggle through the weeds, I was making way too much commotion. Never saw anything. And once I'd silted it up once, it stayed silted the rest of the day.
Now one technique that does work on carp, is to take a bag of field corn and soak it in the water, let it sit on the dock for a day or two to get it fermenting. Then hang it in the water off the dock. Let it hang there for a while to draw in the carp. Then slip into the water on the other side of the dock holding a big rock and your spear gun. You'll scare them off, but if you sit motionless at the bottom in the weeds with the rock in your lap for as long as you can, they'll soon come back and start sucking the bag, then just shoot one. Don't know if it's legal or not, but it works. I used to do that for hours when I was a kid, with just a mask and fins and a homemade Hawain sling. If you shoot a big one, be prepared to get a free tour of the entire pond. But if there's a lot of Bluegills in the pond, they'll make it so there's no way you can sit still. I hated Bluegills.
Come to think of it, I've never tried it with scuba, but I imagine the bubbles could be a problem.
Ah, ok, no spearing. You must've posted that while I was typing.