It's definitely safe and a good idea.
I personally dry some grass (that's ment for sheep) every summer when I visit home. As Catlyn said it's best to dry it outside in the sun, for it to dry the quickest spread it out in thin layers and also it's important to turn it over at least once.
The only...