Acetone is one of the most aggressive solvents for plastics you can readily access. There are some plastics it won't touch ( polyethylene, polypropylene for example)
There may be some foams it is ok with, I don't have so much experience there, but because a foam has a large surface area, if it is affected, it will be a lot, and quickly!
I really wouldn't do it, but if you try it, do it somewhere very inconspicuous, as always with an untried process.