Personally, I think this option is much more work, since the configuration is per port.
I don't see much point in what it intends to do, a simple ACL is much more practical.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.