Can you start out with an electric guitar or an acoustic guitar?

You can start with either. Many people start with an acoustic guitar, then get an electric; others find an electric guitar easier to play at first, then get an acoustic. If you want to play exclusively rock, an electric guitar will suit you at first. Other kinds of music may call for acoustic guitar.