No, they can't hear the way we do, but they can feel some vibrations - for instance, Carol (corw314) used to tap three times on the tank to signal her bimac and she got a response.
So by all means continue talking to your octopus - it means you're there at the tank trying to interact and that has a long term positive effect.
Nancy