Is there any way stop my Apple trackpad from rotating?
Get a rubber mat for it to stand on, or as Faiz mentioned in a comment, use small amounts of tape to make it stick to your desk.

The rubber contacts on most Apple products can become a bit slippery after use. I personally just rub off any dirt that has collected over time with my thumb, and it's back to normal – slip-free.

Something like these Anti Slip Mats on Ebay should do the trick for you.