The only bad thing is when you clean the foam you will kill the bacteria in the foam.
Not if you wash it out in SW. Do a PWC and save the water you took out and wash the foam in that water and then discard. If you wash in FW you`ll kill off the nitrifying bacteria but not SW.