Yes, pure functions can have execution pins inside. I'm not sure about macros though, I rarely used them....