No. The dolphins you eat are not the same as the marine mammals that swim in the ocean.
Ocean dolphins are intelligent, protected marine mammals. The "dolphin" you might eat is actually a fish called mahi-mahi, a large, colorful fish with a distinctive body shape. They share a name but are entirely different creatures.