Nor in Spain. I've been taking melatonin for quite some time, and so has my mother. You just go to a pharmacy and buy it over the counter.
A friend of mine was on rotation in Sweden from the US and went into the pharmacy to ask for some melatonin to help with her jet-lag. She was very sternly told that she needs a prescription for that here.