Sure you can. See the documentation: https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/f...
Will it understand:
Dog.objects.filter(data__animal__breed='collie')
But this is maybe questions I should rather ask on #django or stackoverflow.