Can I add Class after reconciling without messing up bank reconciliation

Yes, you can add Class or changes after reconciling the transactions. As long as the change doesn’t include the date and amount of the reconciled transaction. There is no need to undo bank reconciliation to add Class in QBO.