Any app you install can (if you allow it) access the camera. So if you by accident installed such an app and granted access to camera and microphone, yes it's possible. An attack through the Internet into an iPad with the most recent iOS version might be possible as well, but it's rather unlikely.