I've tried it out, and indeed it's possible to break piggy, take the red gem, then roll into the yellow gems from the piggy.
The new combo would then look like: take 4 out of 5 gems around the tree, break the piggy, take the red gem, take 6 yellow gems from the piggy, and then continue as usual...