Background
Suppose we observe $n$ IID Bernoulli variables and our null hypothesis is that their common probability is $p$. For denote by $\mathbb{1}_{\{i\}}$ the outcome of observation $i$.
Then by the central limit theorem
$\frac{\frac{1}{\sqrt{n}}\sum_{i=1}^n (\mathbb{1}_{\{i\}} - p)}{\sqrt{p \cdot (1 - p)}} \rightarrow N(0, 1),$ which can be used for hypothesis testing.
Suppose now that the null hypothesis is instead that each variable has an individual probability of success, $p_i$ (they are still independent). Then a simple argument allows us to use Lyapunov's version of the CLT and can thus conclude
$\frac{\sum_{i=1}^n (\mathbb{1}_{\{i\}} - p_i)}{\sqrt{\sum_i p_i \cdot (1 - p_i)}} \rightarrow N(0, 1),$ which can then be used to test this composite hypothesis.
Question
If instead we have $k$ categories and our null hypothesis is that the probabilities for each is $p_k$ and we have observed the $n_i$ occurrences of each outcome $i$ then we can use the Chi-Square Goodness of Fit test stating that if the $n_i$ sum to $n$ then
$\sum_{i=1}^k \frac{(n_i - n \cdot p_i)^2}{n \cdot p_i} \rightarrow \chi^2(k - 1)$.
Analogously to above, instead I want to form a null hypothesis where I conduct $n$ experiments, but for each of them the $k$ categories have separate probabilities $\{(p_1^1, p_2^1, \ldots p_k^1), (p_1^2, p_2^2, \ldots p_k^2), \ldots, (p_1^n, p_2^n, \ldots p_k^n) \}.$
Is there a generalization of the Chi-Square Goodness of Fit test applicable to test this kind of hypothesis? Looking briefly at the proof the case for the standard case gives me a feeling that it should be possible, but surely I can't be the first one asking this?