Is it allowed to ask theoretical questions about coding theory?
No. I would recommend that this site maintain its focus on cryptography. I would recommend that such questions be judged by a simple question: if it is relevant to crypto, it is on-topic; otherwise, it is not.
Therefore, questions about coding-theory based crypto should be on-topic, but questions about coding theory that aren't connected to cryptography should be treated as off-topic.