PJSIP Trunks in VICIdial: A Working Asterisk 18 Configuration
This is doable and stable. It just needs the two channel drivers kept out of each other's way.
VICIdial Scratch Install on AlmaLinux 9 with Asterisk 18
With CentOS 7 heading toward end of life, AlmaLinux 9 is the sensible target for a scratch install. This walks through the whole build on a hosted server where you cannot boot the ViciBox ISO.