Is it possible to use phonegap wrap html5 engine & code to iphone/android?

Is it possible to use phonegap wrap html5 engine & code to iphone/android?

PhoneGap focus on non-game apps. I think its mechanic is expensive on performance. But if you only want to wrap its API on top of cocos2d, it’s doable.
Anyhow it would be a bit wired. I think the concepts of cocos2d fit games better.