Can you use lumber for wood fire grilling?

Of course you wouldn't want to use anything that was treated, but I don't know if the usual lumber (say a 2 x 4) is treated. I've tried to do some research on it but really couldn't find anything.