Unfortunately, unless it is organic quilt batting it will probably still have residues from the enormous amount of pesticides and herbicides used in cotton production. When I was weaving full time I did a lot of research on just what was used on cotton crops and how much was left on the fiber itself after processing...and the less processed had more residue of
course.
So, I personally wouldn't use it in food production but maybe in another spot...a flower garden? maybe natural dye plants or other non food landscaping plants?
If you are curious about what is currently being used to grow conventional cotton crops check out a mainstream farming
magazine.
I wonder about fire retardants also? seems like a lot of fabrics and things intended for bedding have them now.
"We're all just walking each other home." -Ram Dass
"Be a lamp, or a lifeboat, or a ladder."-Rumi
"It's all one song!" -Neil Young