Yes
The bonus action has twothree criteria for triggering:
- You take the Attack action
- You make an attack with a light one-handed melee weapon
- You are wielding or can draw a light one-handed melee weapon with the other hand
If you have multiple attacks in a single Attack action because of Extra Attack, you only need to consider a single one of the individual attacks you make when triggering the two-weapon-fighting bonus actionyou only need to consider one of the individual attacks you make when triggering the two-weapon-fighting bonus action, not the entire Attack action and all attacks you made as part of it.
So if you are fighting with a shortsword and a hand axehandaxe, and you make one attack with each as part of your Attack action:
- You took the Attack action and made an attack with your shortsword, so you can use a two-weapon-fighting bonus action to make an attack with the handaxe
- You took the Attack action and made an attack with your handaxe, so you can use a two-weapon-fighting bonus action to make an attack with the shortsword
Of course, you still only get one bonus action per turn - so TWF only ever gets you one bonus attack, even if you have a choice of multiple weapons you could use it with.