Here in New Zealand you get a licence after purchasing the equipment, and require the machine spec, date of manufacture and serial number to get the licence.
It does require a radiologist name on the paperwork as they are the one with the radiation licence. However it is possible to get one if not a radiologist (dentists do, and radiographers have).
Being licensed to use the equipment is the hard bit, as insurance companies require accreditation which is hard to get.
DIY radiation therapy would be a whole new level.