Can I remotely control an IPad 9.7 running ios 11.2 with Teamviewer on a MacBook Pro?
No.


  Access remote computers on the go with the TeamViewer: Remote Control apps for Android, iOS, Windows 10 Mobile, Windows 10, and BlackBerry. Use your mobile device to provide spontaneous support or to remotely access an unattended computer


There's simply no APIs available to do this AFAIK. Even Apple's own Apple Remote Desktop can't control iOS devices.