People do this all of the time with a dehydrator machine. You can make powdered eggs, potatoes and especially spices and herbs! The idea is to get as much moisture out of it as possible, then grind it up into a powder.
You can also store it in solid form to prevent oxygen exposure during storage!