Yes, you can connect both QuickBooks and Xero at the same time (i.e one from QBO and one from Xero). QuickBooks Commerce will then push an identical invoice to both platforms.
However, do take note that this is not advised as since the two accounting platforms have different features/functions, we cannot assure that no discrepancies will arise.