Yes, there are insects that eat books. The most commons ones are silverfish, cockroaches, and beetles. They eat the starch in the binding glue and paper. If you think there's an infestation, you may freeze your books which will kill the pests. Clean the shelves; afterwards, keep your books clean by vacuuming and dusting them and the area around them.