Sure, if achieving gender balance is desired. Racial balance also seems to be desired by most places, leading to implicit and explicit benefits for different races as well as genders. Just don't expect to see too many male-only scholarships. Few people seem to be concerned over the gender imbalance in, say for rhetorical purposes, English literature. Why do we want a greater balance in CS but not Eng. Lit? Regardless of why, the fact remains that we do, and thus we'll see tricks like scholarships trying to effect that change. Perhaps it would be better if it was all based on intellectual merit, but if you argue for that earnestly you'll be called any of a sexist/racist/elitist or something else. If that's really the path forward it will be a long time before we get on it.