There’s nothing illegal about melting down coinage.
It’s minting coinage that’s the problem. That’s why those “turn a penny into a souvenir” machines have that legal disclaimer on them. Nobody is going to think that those smashed pennies are legal tender.