I wouldn't want to either, They do make spray on pipe insulation that might suit your needs, spray foam might work in a pinch but will be a PITA if you have issues later on down the line. You could also use insulation tape and just slide it between the pipe and the floor, tie consuming but will solve the problem long term.