Is this classroom? I suggest establish multiple work stations (no long rows of desks). Allow the children to visit which ever station they want, as long as they want, with evidence they are doing actual work. They can earn points for each station they visit to give them incentive to diversify. Each station should be stocked with an assignment for each child.
The computer stations (maybe 3 or 4) should be rewards earned with points, and programmed with educational content.
That’s the way we work in our home school.