Have slight bone marrow edema, which is usually caused by an injury. Could I have accidentally torn a ligament?

Maybe. but wouldn't be likley to be related. The marrow is on the inside of the bone. Ligaments attach on the outside. A severe injury could cause both, but these would not necessarily go together.