This is basically true by definition, although there are some things you should be aware of.
Some people require that any ring $(R,+_R,\cdot_R)$ contains a multiplicative identity $1_R,$ and that ring homomorphisms $f : (R,+_R,\cdot_R)\to (S,+_S,\cdot_S)$ satisfy $f(1_R) = 1_S.$ If you require this condition, then for any ring $(R,+_R,\cdot_R)$ there is a unique ring homomorphism $i_R : (\Bbb{Z},+,\cdot)\to(R,+_R,\cdot_R).$ In this case, even if the set $R$ does not literally contain $2,$ you may think of $i_R(2)\in R$ as being $2$ (you might even write $i_R(2) = 2_R$). It is true then that for any $r\in R,$
$$
2_R\cdot_R r = i_R(2)\cdot_R r = r +_R r,
$$
because
$$
\begin{align*}
i_R(2)\cdot_R r &= i_R(1 + 1)\cdot_R r\\
&= (i_R(1) + i_R(1))\cdot_R r\\
&= (1_R + 1_R)\cdot_R r\\
&= r + r.
\end{align*}
$$
As JonathanZ supports MonicaC notes, it might be the case that $i_R(2)$ behaves differently than you'd expect, or looks different than you'd expect. It could be that $i_R(2) = -1_R$ or even $i_R(2) = 0_R$! See the last paragraph for a particularly outrageous example of this.
If you do not require that your rings have multiplicative identitites and/or that ring homomorphisms need not send multiplicative identities to multiplicative identities, then this is still true to some extent, although we should be careful about what we mean.
Let $(R,+_R,\cdot_R)$ be our possibly non-unital ring. In this case, we can't use the unique homomorphism $i_R :(\Bbb{Z},+,\cdot)\to(R,+_R,\cdot_R)$ from before -- there might be more than one ring homomorphism now! Additionally, the set $R$ might not contain $2.$
So, what do we do? Well, remember that any ring has an underlying abelian group $(R,+_R).$ An abelian group is the same as a $\Bbb{Z}$-module (see here for the definition of a module over a ring if you're not familiar). This means explicitly that we have an action of $\Bbb{Z}$ on $R$ which interacts nicely with addition. We define this action by setting
$$
n\cdot r :=\begin{cases}
\underbrace{r + \dots + r}_{n\textrm{ times}},&n > 0,\\
0,&n=0,\\
\underbrace{-r + \dots + -r}_{-n\textrm{ times}}, &n <0.
\end{cases}
$$
Notice that I'm not writing $n\cdot_R r$ -- that's because there's not necessarily an element $n\in R$ which behaves like $n.$ However, it's still sensible to think of adding the element $r$ to itself $n$ times, which is what $n\cdot r$ means by definition. The $\cdot$ refers to the action of $\Bbb{Z}$ on the underlying abelian group of $(R,+_R,\cdot_R),$ not multiplication in the ring itself. In this sense, the equality
$$
2\cdot r = r+r
$$
always holds, and this is basically by definition!
One last remark. You asked if this is true of any ring which has $\Bbb{R}$ as its underlying set. You should be slightly careful here. Consider the following ring structure on $\Bbb{R}$:
$$
\begin{align*}
+' : \Bbb{R}\times\Bbb{R}&\to\Bbb{R}\\
(r,s)&\mapsto r+'s:=\sqrt[3]{r^3 + s^3},\\
\cdot' : \Bbb{R}\times\Bbb{R}&\to\Bbb{R}\\
(r,s)&\mapsto r\cdot's := rs.
\end{align*}
$$
This is not the standard ring structure on $\Bbb{R}$ -- the multiplication is the same, but the addition is "twisted." In this case, $2\in \Bbb{R}$, but it is not true that $2\cdot' r = r +' r.$ Suppose $r = 2.$ Then:
$$
\begin{align*}
2 +' 2 &= \sqrt[3]{2^3 + 2^3}\\
&= \sqrt[3]{16}\\
&= 2\sqrt[3]{2}.
\end{align*}
$$
On the other hand,
$$
2\cdot'2 = 4.
$$
What happened? I'll let you think about this for yourself before revealing the answer below!
What happened here is that $2\in\Bbb{R}$ is no longer playing the same role it was before. Our ring $(\Bbb{R},+',\cdot')$ still has a multiplicative identity, but our ring homomorphism $i_{(\Bbb{R},+',\cdot')} : (\Bbb{Z},+,\cdot)\to(\Bbb{R},+',\cdot')$ now sends $$i_{(\Bbb{R},+',\cdot')}(2) = i_{(\Bbb{R},+',\cdot')}(1) +' i_{(\Bbb{R},+',\cdot')}(1) = 1 +' 1 = \sqrt[3]{2}.$$So there is an element of $(\Bbb{R},+',\cdot')$ which behaves like $2$ should -- it's $\sqrt[3]{2}$. We thus have$$\sqrt[3]{2}\cdot' r = r +' r$$for any $r\in\Bbb{R}.$ This is very confusing, because we already have $2\in\Bbb{R}$! In this case, it would be very important to distinguish between $2\cdot r$ (which is $2\in\Bbb{Z}$ acting on $r,$ giving $r +'r$) and $2\cdot' r$ (which as we computed, is not $r +' r$ in general). In the notation of the first paragraph, $2_{(\Bbb{R},+',\cdot')} = \sqrt[3]{2}$ and $2\neq 2_{(\Bbb{R},+',\cdot')}$.
To be even more explicit about what happened, given any set $X,$ any ring $(R,+_R,\cdot_R),$ and any bijection $f : X\to R,$ we can give $X$ the structure of a ring by defining addition on $X$ by $x +_X y := f^{-1}(f(x)+_R f(y))$ and $x\cdot_X y := f^{-1}(f(x)\cdot_R f(y)).$ We're taking the ring structure on $R$ and transporting it to $X$ via the bijection $f$: first, take your elements $x$ and $y$ in $X,$ send them over to $R$ where you add or multiply them, and then bring them back to $X.$ In my example above, I'm using the bijection $\Bbb{R}\to\Bbb{R}$ which sends $x$ to $x^3.$