Yes, CoScreen works with Apple Sidecar where an iPad is configured as an extended display of a Mac. Just set up your iPad as secondary display as described here and configure CoScreen to run on your iPad in the CoScreen settings which you can open from its main menu.