In Canada, that would fall under s. 264.1(a) of the criminal code. You cannot consent to intentional bodily harm (ie: R. v. Bertuzzi, 2004 BCPC 472 (CanLII), ). Threatening to cause bodily harm is a crime. Im not sure there is a similar law in the US.