In theory, Cocaine should be as effective as an/y other CNS stimulant in boosting a person's cognitive abilities. When you are really into what you're learning, it's going to be easier to stay focused and absorb information. For myself, I love History/Anthropology. I also love learning about drugs and their effects on our lives. These things I can learn, describe and understand easily. If you want me to learn about Math, I'm going to need to work ten times harder to learn 1/10th the information.
I feel like CNS stimulants can make a person interested in just about anything by releasing the right neurotransmitters. I believe this allows people to be excited and enthralled by what they're learning. Amphetamine is used for this purpose both as a prescribed drug and also illicitly. It seems people can use Amphetamine in this way effectively if they maintain discipline.
Cocaine, as it is such a short-acting drug, especially compared to Amphetamine, does not lend itself to legitimate work purposes. The idea of taking medication two or three times a day is inherently easier for us to do properly. We eat three meals a day. We often split the day up into morning, noon and night. With everything that goes on in a person's life throughout the day, to say you need to use Cocaine approximately every 45-60 minutes just doesn't work. A person can use Cocaine all day pretty easily, but to divide that into 12 equal doses without making mistakes is essentially impossible for a person to maintain, especially as cravings take hold.
To answer your question, I don't think Cocaine can be used effectively in the same way Amphetamine can be. It's just totally impractical for most applications outside of having a good time/partying. However, if you had a research paper you needed to complete in 12 hours, I would venture to say you could get more done, faster than without a stimulant in your system. The problem is that people who write research papers on Cocaine typically end up sounding like the Unabomber.