It takes me nothing to counter each of your points.
Loghain still remains guilty of treason against the law.
-He imprisoned the Queen.
-He poisoned a noble.
-He sold Ferelden denizens to slavery.
-He Killed and hanged many nobles (dialogue conversations in the tavern).
There is no need to account his actions in Ostagar
If Leliana attempt to kill the warden your point is proven false.
He broke his oath and committed desertion which is a form of betrayal.
Anders has the decorum to leave after that the mother is defeated and not when the issue isn't resolved yet.
Morrigan deceived the warden and attempted to use them for her own ends and didn't even keep her word for help on the 1st grimoire which is a form of personal betrayal from whom the warden may even demand revenge in WH.
Sten is saved by the warden and promised to follow them under an oath however at one point he can turn against the warden and if you don't win the fight he kill you which is indeed a betrayal.
I addressed each of your points in a clear manner and to my perception proven them all to be not correct
The companions in DAO are all able to betray the PC and to not keep their word unlike the majority of companions of DAI.
Anora was imprisoned on Howe's property. There's no evidence Loghain had anything to do with that, other than his lieutenant showing up, and that could be just because she heard the Warden had broken into Howe's residence.
I don't trust Jowan when he implicates Loghain. He was trying to save his own skin.
He broke his oath sure. He told everyone he was leaving the Wardens, so not sure desertion come in. I'm not a legal scholar however.
No doubt he sold elven citizens into slavery. He was losing a civil war, however, and the gold he received helped him continue the fight. Civil wars are expensive.
If you believe the dialogue conversations in the tavern, they also mention Anora named her father Regent. I'll grant your point if you grant mine that Anora doing that means Loghain took the Regent title on her behalf.
I never gave Leliana grounds to kill me. so for my purposes she isn't guilty of treason. It may be different depending on your actions with the Ashes.
Not familiar with what first grimoire you're talking about, so will let you elaborate on that.
The DAO companions will only betray you if you take adverse actions and never take the time to use gifts to restore their faith in you. In point, it's on your warden to determine whether or not they ever have a reason to betray you. You have events like Leliana will always attack if you despoil the ashes, but I'm not the sort to do that anyway.