Not only would CSP block it, but this type of behavior only strengthens Apple's decision to not allow third party rendering engines. Could you imagine the privacy nightmare that would ensue if Facebook could release a browser that bypassed any and all safeguards implemented by site operators?
If it were only Apple's restrictions preventing this, why wouldn't Facebook release such a browser on Android?
External sources yes, preventing an app to inject inline HTML and JavaScript is tricky.