Can baby chicks eat bugs?

I just switched my brooder bedding from hay to pine chips and my 1 week old chicks keep digging around and pecking at the chips, almost looks like they are trying to eat it. I was thinking they are just looking for bugs.