You cannot build $f_3$ in such a way.
A first solution, not the most rigorous but it gets the idea across without using too much algebra:
Let $R$ be any ring where $2$ is invertible. Then $\frac{x+y}{2}$ is defined on elements of $R$.
This allows us to define a mapping $\varphi: B \times R^3 \to R$, where $\varphi(\beta,a,b,c)$ is the result of evaluating the symbolic expression $\beta$, with the values $a,b,c \in R$ substituted in.
(For example, if $\beta = f_2(f_2(a,b),c)$, then $\varphi(\beta,a,b,c) = \frac{a+b}{4} + \frac{c}2$.)
Suppose there is an expression $\beta \in B$ such that $\varphi(\beta,a,b,c) = \frac{a+b+c}{3}$. Then $\varphi(\beta,1,0,0) = \frac{1}3$, and so $3$ is invertible in $R$.
(This part bothers me a bit, because it's a bit presumptuous to even write down the expression $\frac{a+b+c}{3}$. Perhaps it would be better stated that $3 \varphi(\beta,a,b,c) = a+b+c.$ Either way, $3$ ends up being invertible so long as 2 is, if we suppose that we can build $f_3$ by iterating $f_2$, and allowing ourselves to substitute in 1 and 0.)
And, so, it suffices to note there are rings $R$ where 3 is not invertible, but 2 is. One such ring is $\mathbb{Z}/3$.
I intended the above solution to avoid possibly confusing abstraction, but in response to comments below I will be super rigorous:
Let $S = \mathbb{Z}[\frac{1}2]$ denote the ring of rational numbers with denominator a power of two. We can define a mapping of sets $\tau : B \to S[a,b,c]$ by sending $a,b,c,0,1$ to themselves, and $f_2(x,y)$ to $\frac{1}2 (\tau(x) + \tau(y))$. A simple induction proves that the image of $\tau$ consists solely of linear polynomials.
The map $\tau$ extends linearly to a map of $S-$modules $\varphi: SB \to S[a,b,c]$. We have also the change of rings morphism $\theta : S[a,b,c] \to \mathbb{R}[a,b,c]$, and evaluation maps $ev_{(x,y,z)} : \mathbb{R}[a,b,c] \to \mathbb{R}$.
This gives chains of $S$-module morphisms
$$SB \xrightarrow{\varphi} S[a,b,c] \xrightarrow{\theta} \mathbb{R}[a,b,c] \xrightarrow{ev} \mathbb{R}.$$
where $ev$ is any one of the many evaluation maps we might choose from.
The map $\varphi$ also has image solely among the linear polynomials, while $\theta$ is injective and degree-preserving.
If $ev_{(x,y,z)}P = ev_{(x,y,z)} Q$ for every $x,y,z \in [0,1]$, and $P,Q,$ are linear polynomials, then $P = Q$.
Therefore, it suffices to show that there is no $\beta \in SB$ such that $\theta (\varphi(\beta)) = \frac{a+b+c}{3}.$
Proof of claim: Suppose otherwise. Then $\theta (3 \varphi(\beta)) = 3\theta (\varphi (\beta)) = a+b+c$. The map $\theta$ is injective, so $3\varphi(\beta) = a+b+c$. Evaluating at $(a,b,c) = (1,0,0)$ gives that $3\varphi(\beta)(1,0,0) = 1 \in S$; yet, $3$ is not invertible in $S$ (*). This gives a contradiction.
(*) For various reasons: to stick to my guns a bit, one being that, since $2$ is a unit in $\mathbb{Z}/3$, there is a unique ring morphism $S \to \mathbb{Z}/3$ extending the canonical quotient map $\mathbb{Z} \to \mathbb{Z}/3$. As $3$ is not a unit in $\mathbb{Z}/3$, it cannot be a unit of $S$.