Sikuli is a screen-reading automation tool which can be hooked into with Java or Python. This repo has a csv and sikuli script to drive iTunes and batch-create Apple IDs, inspired by http://www.enterpriseios.com/wiki/Batch_Apple_ID_Creator Just like that predecessor, this creates IDs without a credit card, perfect for training or educational situations.
Currently, there are limitations versus the previous, applescript-based method: SikuliScript uses java, requires focus(it assumes you have iTunes open, and are browsing the store), and I did not code in all conditionals to satisfy every permutation of the security questions Apple presents. I discussed more of the design decisions behind these choices in this blog post.
After you download and unpack the zipped folder of the repo, you'll find AppleIDcreate.sikuli and ids.csv. You must modify the ids.csv file to customize the IDs you'll be creating, and place it in /Users/Shared. Then you need java(the system version distributed by Apple, nothing to do with the browser plugin, haven't tested with java 7 yet) and Sikuli downloaded and installed to run it. Sikuli is due for updates soon, but the IDE has some stability issues at present. In the meantime, you can reliably run it by issuing the following command: /Applications/Sikuli-IDE.app/sikuli-ide.sh -r ~/Downloads/Sikuli-AutoAppleID-Creator-master/AppleIDcreate.sikuli
NOTE: Apple may throttle the amount of IDs you can create at once. Please see the thread on enterpriseiOS for more info. Also, this has only been tested in the US version of iTunes, please submit pull requests, or contact me with screenshots of the options for other stores around the world!
Also, if you CAN have people put in a credit card to use the IDs you're tasked with creating, consider using Fake on Apple's site. This means you definitely can create as many as you want at a time, and is faster.