Yes, it's neccesary to have an acoustic piano or digital keyboard before starting lessons.
For the recreational student, a digital (electric) keyboard is a great choice. For the serious student pursuing a classical music track, an acoustic piano is recommended.