It can, as long as you can give it benchmarks. What it can't do is optimize general intelligence without any external validation.
You can optimize a model by randomly changing its weights and validating results on your task. A monkey can type a book given enough attempts.