Can you play electric guitar after learning to play the bass guitar?

If you can play one kind of guitar, you can adapt to another kind fairly easily. They all work with the same technique, fingering and picking and strumming.