That would not get through the App Store review process.
Depends on how you implement it.
Can you give an example of an app in the App Store that uses internal APIs to provide animated home screen widgets?