Maybe, maybe not. Probably say you have to go afk or something, some wholesome excuse, because people will report. If you don't afk often, even without an explanation, you probably will be fine, but if you do it often you might get hit with a "grief tactics" warning. Better safe than sorry, either way.