there is a script by Martin Fischer at www.hilfdirselbst.ch (a swizz-german website) that could fit your needs. You can download it if you choose to be a premium member which requires a small fee. It's written for InDesign CS3 but it should run with CS4 or CS5. I tested it with a small list of words and it ran fine with InDesign CS5.
If you prefer a Google translation:
marc autret did something before he made indexmatic 2 called index brutal which is what i think you're after.
he does have it in his "temporary archives" on his website:
but he adds a disclaimer that there were some bugs, but use it at your own peril.
Thanks all for the help!