Technically no, Pokémon found while you have a hacked shiny charm won’t be consider hacked since the encounter will be generated by the game.