Nope, this box is clearly defective in some way.
First, I would zero the boot disk & clean install a Mac OS (the only way apple really gives to sort our such things). Perhaps go back a version and use (say) a final Montery for starters. Having said this, I have had no problems with Ventura 13.4 in relation to the kinds of problems you menttion, nor for any audio of video production.
Remove all third party harware. Blow it away, install fresh OS & on the way through - Zap the PRAM & reset the VMC.
If you're experiencing weird glitches with your Mac, doing a reset of your MacBook or desktop Mac could help. Here's how to reset the NVRAM, PRAM, and SMC on either an Intel or M-Series Mac.
www.macworld.com
Perhaps of note, I have noticed from time to time that the VMC reset can avoid a multitude of ills; in the case of the mac pro, this simply involves disconnecting the PSU for 20 secs or so. Given the large amount of hardware connected to my mac in this recording studio, I use a UPS to power the studio, and turn off the entire studio by powering down the UPS.
Then install (say) only a clean Logic Pro; no 3rd party plugs etc. Install drivers for the Quantum, but connect directly to the mac & leave out and hubs etc for now. If possible, perhaps remove the 2nd SSD - then what you have here is a 'virgin' machine or as close as possible.
So, if Logic is now performing more like it should, good. Then start to slowly install or connect other items as required; if it breaks at some point, then there's your problem. I also use Carbon Copy Cloner to make image copies of the boot disk, back it up from time to time at each change & then the last image can easily be rolled back if one of the further steps goes awry.
If the first step - clean install, Logic only, no extra hardware - still goees awry, then indeed you may need to track down a hardware problem. First places I'd look: 3rd party ram; 3rd party SSDs & I can only assume Apple's original boot disk may still be there given that these were not upgradable. In which case, mac os should be booting from that original disk.
Still, this does 'feel' like a software /OS thing.