Around modern cable in good condition, yes. Knob-and-tube wiring still in service, recessed lights not rated for insulation contact, and open junction boxes are the exceptions, and each must be dealt with before foam goes on.
More detail
Knob-and-tube wiring, used in houses wired before about the 1940s, sheds heat into open air and was never meant to be buried in insulation, and pre-war attics and walls in Clintonville, the Near East Side, and Grandview Heights still turn it up. An electrician should confirm it is dead or replace it before any insulation surrounds it. Recessed light housings must be rated for insulation contact, and ideally for air tightness, or be replaced before foam or loose fill touches them. Junction boxes need covers on and must stay accessible, so foam seals around a box rather than over its cover. Modern NM cable routinely runs through insulated cavities. Bath fan and range hood ducts crossing an attic should be sealed and insulated, not entombed in foam where a future repair means cutting it out. Plan an electrical walk-through as part of the scope, especially where the energy bill is high because the attic has never been touched.