They're a ruminant, the gut flora will ferment the figs to something else. while the alcohol will be absorbed through the walls.
some varieties seem better adapted to tolerate ethanol from partially fermented fruits than others so the result will vary.
How much wine and how many figs are we talking? what size goat is it are they male or female? are they in a growth or lactating phase?