How fish and shrimps could be recruited as underwater spies

Animals have long been used for military purposes, but could marine creatures also act as sensors?