Apple would never allow this, it competes against their App Store, their Game Center, and would probably also fall under the rule against "app curation / collections" apps.
So, I don't think Apple has a policy against social platforms within games. EA, for example, has Origin in FIFA. However, a custom Steam game store would only be possible on Android.