Only some palys contain palytoxin.
Most zoas and palys that we see in the hobby do not.
But it's pretty difficult to know which do and which don't.
Palytoxin won't be an issue in the tank.
You don't want to handle sizable zoa or paly colonies with bare hands.
And you don't want to tear or scrub undesired colonies off of rocks without eye protection as well.
And don't boil rocks with zoas on them, or do other things that might aerosolize the toxin.
From what I understand Zoanthids carry the same palytoxin as palys. All zoa and paly have it, no matter where they originated from. It's just some are more tolerant than others.
https://www.cdc.gov/mmwr/preview/mmwrhtml/mm6431a4.Htm
That being said, just about everything in the ocean wants to kill you. Fish alone, even when non-poisonous can (and apparently more often do than we like to think) carry fish tuberculosis.
And there are fish we don't even think as being toxic that are, blue hippo tangs for example.
There are mushrooms if consumed can kill within minutes. There are fish that can bring on anaphylactic shock, invertebrate hitchhikers (although rare) that have fatal bites/stings.
And finally, when you own an aquarium, you're mixing electricity and water. If it's a saltwater one, you're taking an extra risk because salt will conduct electricity.
This isn't a "safe" hobby, such as making balloon animals (and I'm sure there are disasters in that too), however if you take basic precautions there is very little chance of any kind of poisoning, house fire, etc.
And lets face it, life is dangerous and there are no trigger warnings.