Even though methadone in itself does not fester the teeth, it can inhibit saliva production and cause dry mouth, which can, in turn, contribute to the production of plaque that causes gum disease and tooth decay.
https://recoverypartnernetwork.com/drug/opioid/methadone-addiction