I'm fairly certain that a doctor can specialize in chronic pain, but what is their title?

Pain manage speciali. Doctors from many specialties including primary care can become pain management specialist. More often they are anesthesiologists.