Apple does allow Flash to be installed on Mac OS X, and actually includes it with the OS.
Right now there is not a way to "install" something on iPhone OS that would then become available to Safari and other apps. To do that, they'd have to build a plug-in architecture for iPhone OS.