Not really.  Treason is an act of betrayal against your country.  It doesn't seem to be clear at this point that Flynn went this far, although there are no doubt some who will argue that he did.

The law that I've seen floated about that people are saying that he was in violation of was the relatively obscure"Logan Act".  

https://en.wikipedia.org/wiki/Logan_Act