B could not have won a head-to-head in this scenario.
There aren’t likely to be many 12-0 or 0-12 teams in any given season that happened to have the exact same margin of victory, let alone 12. If it happened, more likely than not that they were one of the 12 on each others’ schedule.