If I were to build a rodent rack is there any reason I couldn't stain the wood?

Would there be any health risks or anything to the rodents?