I understand that given a standard normal variable $Z$ and a $\chi^2$ random variable $V$ with $\upsilon$ degrees of freedom that \begin{align*} T := \frac{Z}{\sqrt{V/\upsilon}} \end{align*} follows a $t$-distribution with $\upsilon$ degrees of freedom (assuming $Z$ and $V$ are independent). From this one may derive (source) the ubiquitous $t$-statistic \begin{align}\tag{1} \frac{\bar{X} - \mu_0}{S/\sqrt{n}} \sim t_{n-1} \end{align} from \begin{align*} Z = \frac{\bar{X} - \mu_0}{\sigma/\sqrt{n}} \sim \mathcal{N}(0,1) \quad \text{and} \quad V = \frac{(n-1)S^2}{\sigma^2}\sim \chi^2_{n-1}. \end{align*}
However, when learning about hypothesis testing for regression population coefficients, I learned that given $\hat{\beta}$, an estimator of an arbitrary parameter $\beta$, one also uses the $t$-statistic \begin{align}\tag{2} t_{\hat{\beta}} = \frac{\hat{\beta} - \beta_0}{s.e.(\hat{\beta})}, \end{align} where $s.e.(\hat{\beta})$ is the standard error, i.e. the standard deviation of the sampling distribution of $\hat{\beta}$.
Whilst this looks similar to equation (1), I don't know why it should necessarily follow a $t$-distribution. I don't believe one would derive this fact in a similar manner to above: if our estimator $\hat{\beta}$ is not the sample mean then the random variable \begin{align*} \tilde{Z} = \frac{\hat{\beta} - \beta_0}{s.e.(\hat{\beta})} \end{align*} will not necessarily be standard normal (the central limit theorem can only be invoked for the sample mean).
Therefore my question is, does someone have a source or a proof to show that equation (2) follows a $t$-distribution given that $\hat{\beta}$ is an arbitrary parameter and not necessarily the sample mean? Everything online seems to focus on the specific case of the sample mean.