Can you elaborate more how you would achieve this with Flow? AFAIK, there is not a way to restrict views in lists if that implies security...of course, you can always apply filtering but not sure if this is what you are looking for
You can write a Flow to do this but you would need to start the flow on every new Item in the list that was created and permission it to only the users in the department by way of an AD or SharePoint security group. You cannot permission views only the data in them. Same view, different data surfaced to the user dependant on which department they are in.