If the federal government wants to ban it for government people and contractors, sure. However, banning it for other people won't pass the First Amendment.
Also, the law won't do much. People will find out about private VPNs to get around it. In fact, the unintended consequence of the law might be to make it more difficult for law enforcement to catch actual criminals (or just spy on people just for the heck of it).