The dual-sprocket rear hub (eg from Currie) is one kind of motor kit, yes.
There are also kits that come with a complete front or rear wheel with hub motor, and kits that drive the existing chain near or at the bottom bracket.
Having owned a dual-sprocket gearhead-motor bike I'd recommend...