Is it possible to somehow make the objects of the same color, but not intersect each other?

Hello. Please tell me, is it possible to somehow make the objects of the same color, but not intersect each other? So that it was possible to place several objects on top of each other and they were filled in separately. I want to work out the 3d engraving technology, but it takes a very long time to fill each layer with a separate marker