Is it possible to install Kali Nethunter's Apps on OxygenOS?
Try Termux, a free application which allows you to access apt-get and many other Unix commands right on your smartphone.

You can also install the termux-sudo plugin, which allows you to run commands with root access.