Do you mean Foam? or rubber?
I have heard of foam. The idea being you sticky side of the foam to the layout base and it raises the track slightly. Then you don't need to nail or screw down the track since the foam weather stripping keeps it from sliding around.
I saw this suggested in tinplate times or somewhere similar but have not yet tried it myself.