is it possible that I only use cocos2d-x when I need to use it?

I mean I don’t want to create my app based on cocos2d-x, but just use it as something like a third-party library.
Is it possible?

anybody here?