Oooooo, is my brain is a' reelin'...........

Is the floating foam stuff just "Great Stuff"......that you spray in the pipe? What is best?