Setting $x=y$ gives $f(x+2f(x))=x+2f(x)$, and so $f(y)=y$ whenever $y$ is of the form $x+2f(x)$ for some $x$. Note also that if $f(y)=y$, then for any $x$, $f(x+2y)=f(x)+2y$.
Now consider the function $g(x)=f(x)-x$. From the previous paragraph, we see that if $f(y)=y$ then $g(x+2y)=g(x)$. In particular, every number of the form $2x+4f(x)$ is a period of $g$. Let $P\subseteq\mathbb{R}$ be the group of periods of $g$, i.e. the set of $p$ such that $g(x)=g(x+p)$ for all $x$. There are now two cases.
The first case is that $P$ is not cyclic. Then $P$ is dense in $\mathbb{R}$, and so each coset of $P$ is dense in $\mathbb{R}$, and in particular $0$ is in the closure of each coset. But by definition of $P$, $g$ is constant on each coset of $P$, and so by continuity of $g$ at $0$ this constant value must be equal to $g(0)$. Thus $g(x)=g(0)$ for all $x$, and $g$ is constant everywhere. Thus $f(x)$ has the form $f(x)=x+c$ for some constant $c$. Plugging this into the functional equation gives $$x+2(y+c)+c=x+c+y+y+c,$$ so $c=0$. Thus $f(x)=x$.
The second case is that $P$ is cyclic, generated by some $p\in\mathbb{R}$ (possibly $0$). Then every number of the form $2x+4f(x)$ is an integer multiple of $p$. But $2x+4f(x)$ is continuous at $0$, so this means $2x+4f(x)$ is constant in a neighborhood of $0$. As you've shown, $f(0)=0$, so $2x+4f(x)=0$ for all $x$ in some neighborhood of $0$, so $f(x)=-x/2$ for all $x$ in some neighborhood of $0$.
Now suppose $\epsilon>0$ is such that $f(x)=-x/2$ whenever $|x|\leq\epsilon$. If $0\leq a\leq \epsilon$, the functional equation with $x=a$ and $y=-\epsilon$ then gives $$f(a+\epsilon)=-\frac{a+\epsilon}{2}.$$ That is, $f(x)=-x/2$ is also valid if $\epsilon\leq x\leq 2\epsilon$. Similarly, using $y=\epsilon$ gives that $f(x)=-x/2$ is also valid if $-2\epsilon\leq x\leq -\epsilon$.
That is, if $f(x)=-x/2$ whenever $|x|\leq\epsilon$, $f(x)=-x/2$ whenever $|x|\leq 2\epsilon$ as well. Repeating this argument over and over, we get that $f(x)=-x/2$ for all $x$.
Thus the only possibilities for $f$ are $f(x)=x$ and $f(x)=-x/2$, and you can easily check that both of these work.