A common combustion chamber would have been better, but even then you have slightly different sized balls, different wadding with different amounts of friction, etc.
I dont see why it wouldn’t work with just a regular cannon and two balls, linked by chain, stacked in series in the barrel.