If I’m not mistaken mons caught in Gen 7 have sufficiently random RNG; I don’t think any correlation has been discovered. If you’re concerned, catch the desired mons in game (so that’s if there’s any undiscovered correlation, the PID IV etc relationship be maintained), then shinify it by only flipping the front half of the PID against your Trainer details
In practice similar to the Overworld Shiny + Forced Shiny function of this:
(that’s what happens in Gen 8; the shiny generated by a random “seed” value has stat correlations, and how the game shinifies it is just by modifying the front half of the PID. Longer seeds, like with raids, are a bigger problem as they also generate what’s called “fake trainer tid sid”, which is what the game uses to determine if the encounter can even be shiny)