As monty said, there has been a lot of interest in this, and it does seem logical for octos to have a longer life if they were "spayed/neutered", as procreation tends to mark the senescence of octopus.....but this has been a debatable theory for quite awhile.
On the other hand, it does seem extremely difficult to remove any part of an octo's insides - they can be quite small and I imagine not only would the procedure be highly intrusive but also very costly. I can't imagine the general anaesthesia would be the same for octos as other living things i.e. humans, dogs, cats - because their blood and the way it's supplied to their bodies is quite different from mammals. It would be interesting to hear if anyone has any experience with this.