Yes.
WiFi typically has a ping time of 2-3 ms because it it is not direct and the WiFi waves (microwaves) must be encrypted.
Ethernet has a latency of about one nanosecond per foot of cable. A 100-foot Ethernet cable has a ping time of about 200 nanoseconds. That's about 0.0002 ms of ping time.