Make sure the drugs are tested for safety and the possible side effects enumerated. But this isn't a bad idea. Drugs are already used to treat disease, and what we consider normal now would be considered a disease if the average person was significantly smarter. If we can treat cognitive deficits relative to normal why not treat cognitive deficits relative to higher standards than just normal? There's no practical reason to stop at normal.
In fact if we all content ourselves stopping at normal then as artificial intelligence technologies become more and more advanced we won't be able to keep up and even if the machines don't decide we are obsolete we'd be stuck implementing their ideas. There would be nothing left of human innovation and creativity. We would effectively be the robots. We should be keeping ourselves one step ahead or more of artificial intelligence.
Yes, a person should, or should be allowed, to take drugs to improve cognitive function. Coffee sharpens the senses, amphetamines speed the mind, psychedelics open it, and cannabis calms it down. Addiction is the problem, not the drug taking itself. Drugs should be freely available in a national health care system, for whichever cognitive function applicable. The benefits include legal profits, taxation, better, more productive work and the possibility of interesting new ideas being found.
I would rather miss out on the latest innovation than have a person damage their health taking drugs that aren't good for them. Those drugs can really raise a person's heart rate and do a lot of damage for them. I would rather a person eat healthy foods and salads to fuel their brain.
Ever since massive advances in medical technology began to appear in the 19th century, new ethical issues in medicine have constantly been coming up. As attention has turned away from purely physical issues to solving arguably social problems, such as mental issues or in this case boosting cognitive function, these issues have only grown more complex and difficult to suss out. Taking drugs to improve cognitive function is a few steps to close to the actual implantation of artificial intelligence in the human brain.
Plenty of geniuses have been born in the history of humanity and very few of them took drugs. The idea that we, as a society, have some sort of NEED for chemical stimulation is absurd and will not heighten our senses, but merely dull our sobriety. There are people who need drugs, like antipsychotics, to properly function - we don't need to dilute ourselves by making them widespread.
I've done plenty of research on addiction and abuse of prescription drugs, and based on what i've learned, this is a bad idea. If these are like most stimulants that keep alertness up, they're bound to get out of hand. Not only will they be highly addictive, but they will most likely cause long term problems, just like most stimulants do. They can cause respiratory problems which can cause serious physical problems and even lead to death. Prescription cognitive function stimulants are an unnecessary risk no one needs to take.