Oh yes, and any judge who does not support the U.S. Constitution (as the founders saw it) to which they gave their solemn oaths!
And who would be the judge of what constitutes a lie?
Most likely it would be members of the party in power.
Under such a system Trump would not be president today and the J6 people would be in jail for life. No Republican would ever hold office again.
Or the system could be set up like the congressional ethics committee where there are equal number of members from each party and a vote must be unanimous.
A person would rarely ever be convicted and the law is almost useless.