The only harm I can think of is if they are wild pill bugs that have been exposed to insecticides. Pill bugs aren't actually insects, I believe they are most closely related to crustaceans. I don't see why you couldn't try them. If you do, let us know how it works out.
Mark