Spray foam is very difficult to remove from a conduit. Its bad for the next guy if he needs to replace or add wires. If you want other electricians to hate you, put spray foam inside a raceway.