Phaser 3 - destroy after animation?

Try this

function hitBox(player, box) {
  box.play('breakBox', false)
  box.once('animationcomplete', (box)=>{
    box.destroy()
  })
}