Nope...
... because the electric field $\boldsymbol E$ is not defined at the nucleus. You can take the loop to pass as close as you want, so long as it does not touch it. The value $\boldsymbol E(0)$ doesn't exist, so you cannot evaluate the integral if it contains the point $r=0$, it is just a meaningless expression.
The reason is that $E\sim 1/r^2$, so the electric field is not defined at the origin. Formally it diverges, so the integral $\int_0 1/r^2$ doesn't exist. (In some situations the singularity can be mild enough for the integral to converge. But when this happens, convergence is most often conditional, so the result is ambiguous; it depends on the actual path you use to define the improper integral).
More precisely, the fields are defined only on $\mathbb R^3\setminus S$, where $S$ is the set of singularities of the sources. The PDEs that define $\boldsymbol E,\boldsymbol B$ (roughly, $\partial E\sim\rho$, $\partial B\sim j$) only make sense on $\mathbb R^3\setminus S$; the set $S$ is not part of the domain thereof. Point charges have $\rho\sim \delta(r)$, so the electric field is undefined at the origin.
... but.
The discussion above is in the context of classical electromagnetism, where the nucleus is assumed pointlike. If you want a more detailed analysis, where the nucleus has substructure, then the question becomes ill-defined unless you specify which substructure you want to work with.
For example, you may want to take the nucleus to be described by a charge density distribution $\rho(\vec x)$, which is peaked around $\vec x=0$ but varies continuously. If $\rho(\vec x)$ is finite everywhere, then the electric field will be finite everywhere too, and you can take your loop to be wherever you want. Of course, in this situation "through the nucleus" is kinda meaningless, because $\rho$ is extended so the nucleus is not at a point, but rather smeared out in space. But anyway, as long as $\rho$ is sufficiently well-behaved, the electric field will be smooth too, and you can take the loop to go through the region where $\rho$ is peaked.
On the other hand, if you want the nucleus to be described by, say, a collection of quarks, all of which are pointlike, then we are back to the initial situation: you can set the loop wherever you want except the location of the quarks. This description will not be better than the classical one so it is a rather pointless exercise, but it is self-consistent.
A better description would be taking into account that quarks are moving at relativistic speeds. But in this situation we would not be looking at static electromagnetism so again the question is meaningless.
An even better description would be using the fact that quarks are in fact quantum-mechanical, but again the situation is not static electromagnetism so again the question is meaningless.
In any case, the philosophy is the same as in the first part of this answer: you can take your loop to be anywhere you want as long as the electric field is defined there. This field is defined everywhere except for its singularities, i.e., the points where the sources $\rho,J$ diverge. This happens, for example, when the charges are pointlike so $\rho\sim\delta(r)$. So if your nucleus is pointlike, or is composed of pointlike objects, then the loop can be anywhere except for the location of these charges. If your nucleus is extended in space, and smooth everywhere, then the loop can be anywhere.