The government can criminalize crypto. Investigation wouldn't be easy, but the FBI and other equivalents (depending on your country) are very good at investigating hard to solve crimes, and if given the budget can track you down in various ways. (tax fraud is often a big one - even if they can't prove you are in crypto they can prove you didn't pay tax on something)