Not exactly.
She was used as a political pawn by the fascist dicatorship of Putin who sees the USA as their top enemy.
Yes she was caught with cannabis.
But an objective look at the level of punishment being thrown at her compared to a regular Russian or citizen of a friendly to Russia country showed she was a political pawn.
Obviously that paid off for Putin.
I don't argue that there were ethical issues with this but it's definitely not as simple minded black and white as you present it.