Hermit crabs are omnivores and can eat a variety of foods, including fruits and vegetables. They can also eat proteins such as fish, shrimp, and insects. Apple sauce is a sweet, pureed fruit that is not toxic to hermit crabs and can provide some essential nutrients. However, it should not be the only food offered, as it does not provide all the nutrients they need.