Licenced medical doctors under the current system will already prescribe you oxy (actually they moved into low socio-economic areas to sling dope, theres your upper class medical profession) so not sure what your attack is here
There can still be laws, code of conduct etc, eveil jaim time for ethics violators. Just dont restrict supply by only giving licences to people with medical degrees.