Nope! Bill of Attainder.
bill of attainder
noun
A legislative act that pronounces a person guilty of a crime and imposes an attainder.
The US Constitution prohibits bills of attainder.
A legislative determination imposing punishment without trial; prohibited under the United States Constitution.
a legislative act finding a person guilty of treason or felony without a trial