In an early episode of the Orville, Gordon and Isaac get into a prank war which culminates in Isaac removing Gordon’s leg. This is treated as going a little bit too far but ultimately harmless and funny.
In Star Trek, they tend to prefer to mitigate risks protectively with things like anti-grav harnesses and holodeck safeties, except for exceptionally reckless individuals like James T. Kirk and Jason Vigo.