When placed in loose: As long as they are not large enough for the frog to swallow (fit in its mouth) then they are fine.
If they are designed into GS Foam or siliconed in so that they are permanent then they are ok also.