Of course , it shouldn’t.
Internet is made up of interconnected networks which span the globe, using a variety of special telecom equipment and computers. All of them require electricity.
You could also develop a substitute for electricity by using the pigeons (IPoAC). There is a formal proposal that has been tested on real. But don’t expect super fast speeds The speed is a bit slow.)