Was Cole Sprouse in "Friends"? No—That Was His Twin Dylan
Cole Sprouse did not appear in any episode of the television series Friends. You are likely thinking of his twin brother, Dylan Sprouse, who appeared in two episodes as Ben Geller, the son of Ross Geller.