The Rebbe discusses whether eating chametz on Pesach, while prohibited, may technically fulfill the mitzvah of destroying chametz. He presents differing views, noting that although it removes the chametz, it remains a serious violation.
https://www.torahrecordings.com/shulchan_menachem/orach_chayim/225_004