As an update on this, I was originally using LD40 two part polyurethane foam but it was low density rated at just 2lb per cubic foot.
I've since switched to trident foams tripor 224 which is classed as high density two part polyurethane foam and it is much better as it creates a solid much more dense foam which can be carved.