The iPad Pros support ethernet. I’m not sure if the newest iPad does. The older ones do not. To connect both ethernet and power at the same time you would need a dongle with a passthrough power port as well as the ethernet port. Read the specs on your iPad to make sure it supports ethernet, and read the specs on dongles with both lightning and ethernet ports to make sure power is passed through.