Hi Andreia,
Yes, it possible to have different GL based on the determination of different tax code for your tax condition type. Provided your condition record determination is configured according to your requirement.
For your reference, please refer my following post for hints on configuration steps in SCN Wiki:
- Plant-wise Different Tax General Ledger Accounts - ERP Operations - SCN Wiki
If you still have a concern, please do let us know.
Thanks, JP