No. Piranhas are not capable of consuming a cow. While they have sharp teeth and can engage in rapid feeding frenzies on dead or injured animals, their diet consists of fish, insects, and other small aquatic creatures.
They are not equipped to take down or consume large prey such as cows.