Question: is it grammatically correct to say behind your back?
Answer: "Talking behind your back" is simply a widely-used colloquialism. Grammatically, it doesn't make much sense, but most people understand that it means to talk about another without their knowledge. In some circles, that might be called gossiping.