This task can be performed using Universal TV Remote
Universal TV Remote App, One for All TVs
Best product for this task

Universal TV Remote
iot-devices
One remote for all smart TVs and streaming devices, easy to set up, durable and no battery needed. More than a remote app, it also possesses multiple streaming function.

What to expect from an ideal product
- Plug the remote directly into your TV's USB port for instant power
- Press and hold the pairing button for 3 seconds to sync with your streaming device
- Choose your device brand from the on-screen menu to complete setup
- Connect multiple streaming services through the built-in quick access buttons
- Tap the universal control center to switch between different connected devices