This is a good question. Metal oxides tend to decompose at high temperatures, when exposed to reducing agents, under vacuum, or with electricity. I can’t immediately find good sources about which of these apply to gallium and would be most energetically favorable.
But regardless it is certainly possible to regenerate it using only electricity possibly with intermediate but renewable substances (water, sodium chloride, etc)
What happens to the Gallium Oxide? Edit: Follow up - Is pure CO2 required as input or can the input be air?