Oh yes. They are extremely smart. They actually used to imitate my dog’s bark. They’d repeat every sound my dog made. When my dog got tired of chasing them, one would swoop down to her food bowl and steal some food just to get her mad enough to chase again. The poor dog was just about tormented to the point of collapse when I decided to do something about it.
Mockingbirds do that only they dive bomb you.