I'm pretty sure the answer is not in general.
Take a Hilbert scheme which is reducible, for example, that of the Hilbert polynomial $3t + 1$ in $\mathbb{P}^3$. This Hilbert scheme has two irreducible components - the one corresponding to twisted cubics and the one corresponding to degree 3 plane curves union a point. The intersection of the these two components corresponds to degree 3 nodal plane curves with an embedded point "pointing out of the plane". It turns out that both components are rational (actually this is pretty easy to see) and even that the intersection is rational.
Anyhow, take a line in the twisted cubic component that meets the other component (see III.9.8.4 in Hartshorne's Algebraic Geometry) at a point $[C]$ and a line through $[C]$ contained in the other component. This gives you a flat family over the union of two intersecting lines in $\mathbb{P}^2$, but you will not be able to "fill it in" because the Hilbert scheme in question is not irreducible.
EDIT: I realized that, in this example, the family extended to $\mathbb{P}^2$ doesn't have to be as a family of closed subschemes in $\mathbb{P}^3$. Still, it cannot extend to a flat family in this example - just for a different reason. The general fiber of the extension would be a rational curve, but over a line in $\mathbb{P}^2$ you would have a disconnected family. This is impossible.