Are you referring to doing impressions where the act lasts for a few minutes, or are you saying that Jim Carrey actually impersonated other celebrity voice for like a whole movie or interview? There is a difference, I think. One feels like “fair use” while the other would seem more like “plagiarism”.