You can mark on metals other than anodized aluminum, you can’t actually etch them. (Thought Glocks were plastic though?)
In any case, there have been several folks who have tried it on gun handles, with varying results. Here’s one…just read through the thread, there are probably others…
I’ll shift this into the Beyond the Manual section where the discussions are on non-PG materials.