They might hatch and even be able to hide in the plants, but I'll bet the filter would get them sooner or later
I have glass beads/gems in the tank Whitie layed eggs in, and I did not find any eggs on or under the beads.
But that might be because I have a Weather Loach that LOVES

goldfish eggs, maybe he cleaned them all out
Jessica