Yes, you can use the Apple utility Sidecar to connect your Apple iPad. You will need to check to ensure your iPad is compatible with the Sidecar utility and your Mac.
You will not be able to access the controls on your iPad from our Pen Tablet. You can navigate to it like you would a display.