You can't distribute any scripting language interpreter (and thus no apps written in a scripting language) via the app store.  However there is no reason why you cannot install a scripting language and use it on your own phone if you have the dev tools.