bruxism/TMJ secondary to sleep apnea

Does anyone know if bruxism or TMJ can be SC secondary to sleep apnea? If so, how do I do that? Would a sleep doctor or dentist need to write a letter?