This isn't within the capabilities of ID, as far as I know. I'm not at all an expert in waht can be done with Acrobat, but I don't see any reason that a web font end couldn't be built that would feed into an Acrobat Script. I'm not sure waht sort of licensing restrictions there are, however, on that sort of use.
I think you might have better luck asking this over in the Acrobat forum.