Yes, you can compost books. However, you should first remove any glue or staples from the pages. Also remove any glossy pages. Don't forget your local library may also accept donations of used books for recycling. There might be other people out there who may want to read your books.