Yes, can see object task will use raycast to check if the player can be seen so it will totally work.
The only trouble that i see ahead, is how the fish will be avoiding obstacles. (unless you do that your fish doesn't have collider, which will make him unkillable also because bullets won't be able to collide with them).
Edit: I think that A* pathfinding can work with 3D space