24d10 becomes 0-240, so change it to 0-256 and you've got 8 flips (8d2?)
Distribution won't be correct but hey, 8 flips
24d10 is 24 independently rolled d10's, that means we convolute the uniform distribution with itself 24 times and the result will be nearly indistinguishable from a scaled bell curve.
Edit: Click the “Graph” button here to visualize: http://anydice.com/program/4ddf
For large dice counts like that, it's probably better to just use a manual table for a bell curve based on ~8-10 flips. No human player is going to care about result fidelity beyond a thousand possible results anyway.
That gets you to 4.48 amortized flips per d10.
Above 3d10 the rate of re-rolls increases; 20 flips for 6d10 gives a worse amortized cost than two sets of three.
This has the guaranteed correct distribution ('correct' being 'uniform'), too!
EDIT: I guess, to be more clear about the algorithm: flip 8 coins and convert this result to binary. If the result is greater than 240, flip the eight coins again. The number of total 8-coin-flips that need to be done on average is something like 1.062, and the likelihood that you need to perform n 8-coin-flips to receive a result ≤ 240 vanishes exponentially as (15/256)^(-n).
EDIT: I screwed up again, 24d10 is 24 dice with 10 values. Oops. Point is still roughly the same!
For the more common case of a d20, you could do 5 coin flips, but doing 6 instead gives you much more wiggle room. In that case, you only have to ignore values [60,63] so you only have a 1/16 chance of needing to redo the coin flips. It would be tedious but doable (particularly if you had some system where you could prepare rolls while waiting for your turn).
d4 = 2 flips guaranteed, definitely not bad. d6 = 3 flips expected. d8 = 3 flips guaranteed. d10 = 4 flips. d12 = 4 flips.
For something more typical but still nasty, a Fireball with 8d6 would take ~24 coin flips. Also, if I were a prison DM in this situation, I would probably take the time to homebrew the system so it only uses power of 2 rolls, i.e. d2, d4, d8, d16, and maybe d32. I would probably do d16 instead of d20 since d32 would be rolling 5 rolls quite often and a d16 is closer to a d20.
Overall, the difficulty would not be the coin flips but doing the math to keep track of everything.
Even if they restrict you from doing that, another option would be to do some sort of manual pseudo-rng. That option would probably be faster if you have access to a scientific calculator.