If I pay you to develop an app, can I sell it in the app store?

Yes. You hold the copyright to any work that you hire me to do and are entitled to 100% of the proceeds of that work. You would need to establish your own developer account with Apple to publish the content and be paid by them directly.