I damaged a few insoles, so maybe take care of them separatly.
I think general advice is to remove insoles and shoelaces. Choose a program that keeps spinning to a minimum. And put something else in so they don't spin around like crazy. And dry them slowly, stuffed with old newspapers.
I occasionally wash them. I also put in a few dirty rags or something. Seems fine, but I haven't done it frequently.