I used Handi-Foam around small (baseball) pieces of base rock to make a dsb retaining wall. Great Stuff is probably cheaper though. I'm sure Mike will agree that it looks awful at first but once it gets covered in coralline it will look fine.

I read somewhere that there is an oil based Great Stuff. You DO NOT want to use that kind.