Yes. A Pokédex will record location data, cry, category, and appearance (Variations in gender, other forms, shinies) for a Pokémon you have seen. You only need to catch it for getting Pokedex entries and footprints in games that have those. Since you need the data of Form/shiny changes, making a Pokémon appear in battle is only enough.
(This applies to all games)
Source