No. Lavi and Allen Walker are close friends and comrades in D.Gray-man. They never engage in combat against each other. Their relationship is built on mutual respect, trust, and shared trauma as Exorcists fighting the Millennium Earl.
Lavi (Bookman Jr.) is the cheerful, observant chronicler; Allen is the cursed, determined destroyer of Akuma. They support each other through possession, betrayal, and identity crises. Any memory of them fighting likely confuses them with:
The series emphasizes found family among the Exorcists—Lavi and Allen are brothers in arms, not rivals.