I wouldn't recommend new fresh treated lumber but if it is old I don't think it would hurt anything.