that should work (unless there are issues with the nut slots) but note that you won't end up with a linear tuning by swapping the strings around like that. I'm not saying that's bad, just maybe different than what you are expecting.
Great call out.
How much of a difference it makes will depend on what you play. You'll still have the same chords (with different inversions), so if you're just strumming chords it'll sound a bit different but probably fine. If you're deliberate about inversions to emphasize a bass line or if you're trying to include a melodic line you'll need to rearrange for the new tuning.
Green is standard low options vs
Yellow for standard high option.
Black is traditional consistent
Red is non-standard low from the string swap.
Assuming your Baritone came in linear (low-G) DGBE tuning it started:
D₃G₃B₃E₄ and swaps to
G₃C₃E₄A₃ with reentrant low-C and low A strings.
Standard linear GCEA (low-G) tuning is
G₃C₄E₄A₄
Standard reentrant gCEA (high-G) tuning is
G₄C₄E₄A₄
If your Baritone came in reentrant (high-D) DGBE it started
D₄G₃B₃E₄ and ends up closer to a standard low-G tuning, but with a low-A
G₃C₄E₄A₃