I believe the question from the first response (sebastia) is the proper one. Understanding of the question is the key.
If the OP can explain what he/she is attempting to provide (without resorting to design or solution), or in other jargon, describe the use case, then we can start to apply networking acumen and mikrotik programming to see if there is a design/solution that fits. (by the way, the networking acumen and mikrotik programming is for others not me....... i just am interested in properly understanding the requirements first and foremost). I could care less about switch mac, switch cheese, or switchest witch in the east, until I understand the naked issues.
I'd rather manage rats than software. Follow my advice at your own risk! (Sob & mkx forced me to write that!)