This is fine, I would just be extremely careful to thoroughly clean and sterilize all parts of the grain equipment before putting wine back into it. The grains will have a lot of contaminants on the outsides and could ruin a whole batch of wine if theyre present to infect it.