yes that seems to a more simple way to do it. maybe you’d want to add a job that regularly checks if the account still “owns” the name (keep in mind it can also expire).
in the future, it is (hopefully from my perspective ) very likely that AENS names will be proxy owned by the AENS wrapping contract. so (additionally?) relying on a pointer might be better. more info about that: [Active] Wrapping AENS names into AEX-141 NFTs
this is an example query to get all names (including their pointers) owned by an account:
maybe the simplest solution is even to let the user provide the name and then perform a check against the name
wouldn’t be automated, but would simplify stuff a little bit