Is it safe to take vitamin b-12 w methadone?

There are no adverse effects of taking vitamin B-12 with Methadone. My doctor administers my B-12 shots and I am on a Methadone prescription for pain.