No experiment needed. Common rave drugs Meth and it’s relative MDMA (ecstasy) both remain largely unchanged and passed through urine. 

The rectum is made of soft, absorbent tissue not unlike that in your sinuses

This would work as long as you remain still long enough for it to absorb and enough was initially consumed so that the threshold for effects remained . But someone should totally try this just to confirm. For science