A piece of metal is hammered. Does its internal energy increase?

The work done during hammering gets converted into heat energy. Due to this> its internal energy increases. .