I would hazard a guess that a typical pond in North America takes in more pollutants from the atmosphere in one year than would ever be
released from a few treated posts holding up a dock.

Is using treated wood in a fish pond ideal? Probably not.

Is it going to kill everything in the pond and give you cancer if you eat a fish? Probably not.