muriatic acid, OK for carb soaking?

I dropped some stock Footpegs off a sportster in the
muriatic acid to remove the chrome so I could paint them black...
Those Pegs were made of Harluminum I guess... The Chrome was the Only thing left after 30 or so minutes.
The Chrome Footpegs that came out were Hollow and Empty!
Damn!