Yes they stack. Each emerald will attack any random target. If you are attacking a single target it will look as though only one emerald is attacking however it will deal the correct damage depending on how many emeralds you have.