Exclude filetypes for selected group

Is it possible to exclude certain file types from being accessible / synced if the user is part of a specific group. We share a directory but we don’t want all of the files accessible to all groups, only admins.

Yes, through Files Access Control app. It supports mime types and groups.

https://docs.nextcloud.com/server/latest/admin_manual/file_workflows/access_control.html