Is it possible to install a ROM from TWRP ADB shell?
The TWRP provides a command line utility called twrp and the official site has a guide to twrp's subcommands of which the command needed is simply install

install FILENAME :

    install FILENAME zip file.


Usage: under adb shell environment, run
twrp install /path/to/rom.zip