The federal government can't pass any law it wants to. It's limited by Article 1 Section 8 of the Constitution, but the executive branch can choose how to enforce those laws. Under Trump, there are indications that drug laws, which are based on the Commerce Clause, are about to be enforced very differently.