Destroying serialized weapons is illegal, much like burningnserialized dollar bills would be.
No, it's not. Unless the gun was used in a crime.