No, hypothetically apple lets you run arbitrary code. In practice, they lock people out of their developer accounts all the time.