Okay, let's break this down step-by-step:
1) xx must be a two digit number where the first digit is odd and not adjacent to the second digit. There are 5 possible first digits (1, 3, 5, 7, 9) and for each of those, there are 3 possible non-adjacent second digits. So there are 5 * 3 = 15 possible combinations for xx.
2) N must be a consonant after M, so there are 5 options (N, P, R, S, T).
3) TTTT can be any permutation of TYRION, with repetitions allowed as long as the letters are different cases. There are 4 letters with 2 case options each, so there are 16 possible permutations.
4) yyy is a 3 digit number with no consecutive identical digits. There are 9 options for the first digit. For the second digit, there are 8 options if the first digit is not 1 or 9, or 7 options if the first digit is 1 or 9. For the third digit, there are 8 or 7 options depending on the first two digits. So there are 9 * 8 * 8 + 9 * 7 * 8 = 648 possible combinations for yyy.
5) z is the remainder of yyy divided by 3, so it can be 0, 1 or 2.
Total possible postal codes = 15 * 5 * 16 * 648 * 3 = 1,436,800
Since there are 15 million homes in Westeros, it is not possible to assign each home a unique postal code with Tyrion's system. There are simply not enough possible postal codes.
In summary, no it is not possible to uniquely assign a postal code to each of the 15 million homes in Westeros using Tyrion's insane system. Please let him know that a different system is needed!