Notation:
x = the realized stopping time
[tex]a_i[/tex] = the realized values of a.
[tex]\bar{x}[/tex] = the average stopping time (you want to compute this)
[tex]\bar{a_i}[/tex] = the average values of a (you know these)
I assume that the [tex]\bar{a_i}[/tex] are averages conditional on there being balls available to take at step i (ie, conditional on the game not having ended at previous turns). This proof is not valid without that assumption.
Proposition
For an N ball game It is possible to compute [tex]\bar{x}[/tex] from [tex]\bar{a_1} ...\bar{a_n}[/tex]
Falisification
Disproof by counter example for the 2-ball case below.
Lets do 2 balls as it is easier. You always take at least 1 ball so [tex]a_2 = \bar{a_2}=1[/tex], and the stopping time can be expressed in terms of the realisation of [tex]a_1[/tex] alone.
Specifically, x=1 if [tex]a_1=1[/tex] and x=2 otherwise.
The examples below will show that two process can have the same [tex]\bar{a_1}=0.5[/tex] but different [tex]\bar{x}[/tex]
Situation 1:
State1: [tex]a_1 = 1[/tex] with probability 0.5
State2: [tex]a_1 = 0[/tex] with probability 0.5
Clearly [tex]\bar{a_1}[/tex]=0.5
[tex]\bar{a_2}=1[/tex] from the assumption in red at the top of this post.
The stopping time is 1 in state 1, and 2 in state 2. Each happens with probability 0.5 so we have [tex]\bar{x} = 1.5[/tex].
Situation 2
[tex]a_1 = 0.5[/tex] with probability 1
[tex]a_2 = 1[/tex] with probability 1
Clearly [tex]\bar{a_1}=0.5,\bar{a_2}=1[/tex] again.
There is only 1 possible sample path in this case ([tex]a_1=0.5,a_2=1[/tex]) and the stopping time is 2.Conclusion
Situations 1&2 have the same observed information ([tex]\bar{a_1}=0.5, \bar{a_2}=1[/tex]) and different average stopping times. Therefore it is not possible to compute [tex]\bar{x}[/tex] from [tex]\bar{a_i}[/tex]. Since there is no formula for this specific case, there cannot be a general formula covering all cases where N=2.
By extention it there could be no formula for N=3 in all cases, since i can turn a 3 ball game into a two ball game by having :
[tex]a_1 = 1/3[/tex] w.p 1.
[tex]a_2[/tex] with the same distribution as [tex]a_1[/tex] from the 2 ball game
[tex]a_3[/tex] with the same distribution as [tex]a_2[/tex] from the 2 ball game
Analysis of the stopping time in situation 1&2 would proceed as before, except the stopping time (and average stopping time) would be 1 turn higher in each case.Finally, we can repeat that process for larger and larger games. So all comments in this thread are valid by induction for any N>2.
Remark
I have prooved that you cant, in general, do a computation for the average stopping time. However there may be specific cases when you can (no, I am not going to find them!)
Your second post asks if any inference can be made at all, which is a much weaker requirement which i won't try to prove either way.