You surely know about the Brahmagupta–Fibonacci identity,
$$(a_1^2 + b_1^2)(a_2^2 + b_2^2) = (a_1a_2 \pm b_1b_2)^2 + (a_1b_2 \mp a_2b_1)^2$$
which tells us that the product of two numbers, each of which is the sum of two squares, is itself a sum of two squares. That is to say, the set of all sums of two squares is closed under multiplication. If $a_k$, $b_k \in ℝ $, this is equivalent to the multiplication property for absolute values of complex numbers.
Analogous identities, are, for example, Euler's four-square identity and Degen's eight-square identity, which give the same result for the set of all sums of four and eight squares. Those can be related to quaternions and octonions, respectively (not really sure if this is relevant to the question, but I'm citing it just in case it can be useful).
I was wondering, do similar identities exist for polynomials of degree $n>2$? That is, can we find polynomials of degree $n>2$ closed under multiplication?* (In case there are none, why?) I'm not at all knowledgeable in this subject and asking this just out of curiosity, so I'd appreciate any recommendation on where to look for more information.
*(I was specially curious about integer polynomials)