Here's a negative result: $f(n)$ cannot be written in the form
$$ f(n) = (-1)^{g(n)} $$
where $g$ is a polynomial function.
The relevant condition on $g$ is that its values form the period 3 sequence
$$ g(n) \equiv 0, 1, 1, 0, 1, 1, \ldots \pmod{2} $$
The difference sequence of a sequence is defined by $\Delta h(n) = h(n+1) - h(n)$. We can compute the differences of $g$:
$$ \Delta g(n) \equiv 1, 0, 1, 1, 0, 1, \ldots \pmod{2} $$
$$ \Delta^2 g(n) \equiv 1, 1, 0, 1, 1, 0, \ldots \pmod{2} $$
$$ \Delta^3 g(n) \equiv 0, 1, 1, 0, 1, 1, \ldots \pmod{2} $$
and so forth. If $g$ were a polynomial function, then by taking enough differences we would arrive at the zero sequence; but that clearly cannot happen.