If your app provides a way to buy something that could use an in-app purchase (e.g. not physical goods), but you try to use your own method of doing so, then Apple will reject your app during review. The review guidelines specifically disallow doing that.