If you can pick up drugs like that with an ordinary private prescription in your country, a foreign prescription should work.
For further information:
https://europa.eu/youreurope/citizens/health/prescription-me...