This is not a SFW instance. NSFW communities will be tagged, and efforts will be made to keep SFW communities clean, but proceed at your own comfort level.
Grammar. The sentence is ambiguous and punctuation would and could not disambiguate. Easiest way to disambiguate would be introducing an object “do not touch the items yourself” or rephrasing “on your own”; or, if the other meaning is intended “do not lay hand on yourself”. But the sentence as it is is correct for both readings.
Grammar, or punctuation? Yes.
Do not. Touch yourself.
Grammar. The sentence is ambiguous and punctuation would and could not disambiguate. Easiest way to disambiguate would be introducing an object “do not touch the items yourself” or rephrasing “on your own”; or, if the other meaning is intended “do not lay hand on yourself”. But the sentence as it is is correct for both readings.