Do you mean having a tablet packaged separately which the user adds to the drink when opened, or some sort of contraption suspending the tablet under the cap so it falls when the cap is removed? For the latter, I wouldn't count on the bottles remaining upright while in shipment, I don't think it would work, but I could be wrong.
Couldn't you do it like a Ramune bottle? You would have the tablet, pill, powder, etc. (w/e form it is in) above the marble until you use the plunger to release both the substance and the marble into the drink.
If designed right, this could be used for any kind of drink that warranted something added to it right before drinking.