You can apply to YC with an idea, yes. Sometimes, Y Combinator will select a founder based on an idea-stage business over an established company. However, successful applicants tend to say that they had to get their revenue up before they were accepted to the YC accelerator.