No
Let's start from the beginning.
Point mass A is at position [itex]\textbf{r}_A(t)[/itex], point mass B is at position [itex]\textbf{r}_B(t)[/itex]. Acceleration of these masses are [itex]\textbf{a}_{A,B} = d^2\textbf{r}_{A,B}/dt^2[/itex]. Gallileo's law apply to these accelerations:
[tex]
\textbf{a}_{A,B} = G\frac{m_{B,A}}{|\textbf{r}_A-\textbf{r}_B|^3}(\textbf{r}_{B,A}-\textbf{r}_{A,B})[/tex]
But what you are dealing with is the distance between A and B: [itex]\textbf{r}\equiv\textbf{r}_B-\textbf{r}_A[/itex].
Since [itex]\textbf{r}[/itex] is neither position of A nor position of B, Gallileo's law does not apply to [itex]d^2\textbf{r}/dt^2[/itex]. Instead you have:
[tex]
\frac{d^2\textbf{r}}{dt^2} = \frac{d^2\textbf{r}_B}{dt^2}-\frac{d^2\textbf{r}_A}{dt^2} = \textbf{a}_{B} - \textbf{a}_{A} = -G\frac{m_{A}}{|\textbf{r}|^3}\textbf{r}-G\frac{m_{B}}{|\textbf{r}|^3}\textbf{r}=-G\frac{m_{A}+m_{B}}{|\textbf{r}|^3}\textbf{r}[/tex]
Now if mass of A is much greater than mass of B you can neglect the acceleration of A, so that [itex]d^2\textbf{r}/dt^2 \approx \textbf{a}_B[/itex], then you can think of [itex]\textbf{r}_B[/itex] as the position of B in inertial frame where A is at rest, so Gallileo's law applies to [itex]d^2\textbf{r}/dt^2[/itex] ([itex]m_A+m_B\approx m_A[/itex]).