I'm pretty sure you have to pay $100/year to sign up to the iPhone dev program and I imagine the iPad dev program will be the same.  So your idea works fine except for the part where everybody who wants to install your package will first have to pay Apple $100.  I'm not sure how many people will be willing to do that just to start learning about programming.