For the fuel injection and ignition (spark) timing yes, but the camshafts to open and close the valves are still driven by a gear, belt or chain. Even variable valve timing is mostly controled by mechanical or hydraulic means, though I'm guessing some electronics may be involved.