Is playing with an acoustic guitar the same as playing with an electric guitar?

Knowing how to play the acoustic guitar lays the foundation on how you play the electric guitar. There is no difference between an acoustic and an electric guitar but playing the acoustic guitar helps you develop the dexterity and the strength that is needed to effectively play the electric guitar. It is the same as learning how to ride a bike before you can drive a motorcycle or a car, same with having to learn how to walk first before you can run.