Could I write a program for control 8 arduino devices at the same time?

Welcome to the Arduino forum, Frank.

A block diagram of your project will help clarify what you are doing.

Paul