Different activities on the same NC machine

Hello everyone, I need to carry out different operations on the same NC machine at different times.

PROBLEM:
I created a diagram that might help you understand what I mean. The green flow represents the forward (outgoing) movement of the product. The red flow represents the return movement of the product.  
So the product passes again through the same NC machines it had already passed through before and performs different generic activities.  

SOLUTION:
I made a diagram of what could be the solution. Could it work? Or would you recommend acting in a different way?  
 


At the bottom, the assumptions of the production line are written.

 

Thank you in advance
Best regards