Doing emotes in Minecraft has always been wanted, but never added to the game. Due to the current impossibility to change player animations, you are not the one dabbing in the addon. Although, you can still spawn the Dabbing Steve into your world and make other players think it's you.

How Does This Work?

This is an entity called "Dabbing Steve," and not actually you. When you hit Dabbing Steve he makes a special sound effect. You can customize the skin of Dabbing Steve by changing the texture of the Steve skin to any custom skin.