I have data on a number of units, some of which have received treatment and some of which haven't. Binary outcome data was collected for each unit at multiple times. The model is therefore
$$\text{logit}(y_{it}) = \beta_0T_i + \beta_1U_i$$
where $T_i$ is treatment and $U_i$ is the unit indicator (i.e., unit fixed effect). I would like to measure the contribution of treatment on my outcome outside of any unit-specific effects. The outcome $y_{it}$ varies within units but the treatment does not.
Can I still use fixed effects regression?