Does it's possible to turn off motors only from software?

Hi friends. I have a 680 x8 and I’d like to make some tests with only one motor layer.

There is a solution to disable the 4 top or bottom motors only by software??

There are a lot of screws to remove from the frame to remove the escs wires from pixhawk.