You need to put a earphone on a dog to walk them.
A earphone cannot allow a dog to be walked by a human.
Earphones are usually plastic while dog leashes are made with fabric.
Earphones cannot guide a dog.