The spray foam is a great idea - as long as ALL your electrical is exactly how you want it. Once they install the foam, your electrician will have a cow if you want to run some more lines behind the walls/ceiling.

Of course, at that point, you can do conduit and boxes on top of the wall.