Yes, it is true you can compost 100% cotton.
You can find this information at the Maryland Cooperative Extension, under Backyard Composting,
Troubleshooting and Often Asked Questions.
www.hgic.umd.edu/documents/hg35.pdf
Always check with you local Cooperative Extension, when you have garden questions. It's a great source of information.