They would still need to make more cash with it than what Google gives them.
In reality, I'm not sure Apple could actually create a search engine that is compelling enough against the competition to see people drawn into the Apple ecosystem, but in theory...