Let $X_1, \ldots, X_n$ a random sample with $X_i \sim \mathcal{U}[0, \theta]$ (where $\mathcal{U}$ = uniform dist). Let $Y = \max(X_1, \ldots, X_n)$, the MLE of $\theta$. It can be proven that $U = \frac{Y}{\theta}$ has density
\begin{align*} f_U(u) = \begin{cases} n u^{n-1} & 0 \leq u \leq 1 \\ 0 & \text{otherwise} \end{cases} \end{align*}
Evidently, $P(A \leq \frac{Y}{\theta} \leq B)$ is given by
\begin{align*} F_U(B) - F_U(A) \end{align*}
Then, if $\mathcal{P}(A, B) := P(A \leq \frac{Y}{\theta} \leq B)$, we have
\begin{align*} \mathcal{P}(A, B) &= n \left[\int_0^{B} u^{n-1} ~ du - \int_0^{A} u^{n-1} \right] \\ &= n \left[ \frac{B^n}{n} - \frac{A^n}{n} \right] \\ &= B^n - A^n \end{align*}
From this follows that $\mathcal{P}(\alpha^{\frac{1}{n}}, 1) = 1 - \alpha$. I want to use this to form confidence intervals for $\theta$, but I am unsure about whether my procedure to do this is correct. It takes simple manipulations to show that
\begin{align*} P(\alpha^{\frac{1}{n}} \leq \frac{Y}{\theta} \leq 1) = P( Y \leq \theta \leq \frac{Y}{\alpha^{\frac{1}{n}}}) = 1 - \alpha \end{align*}
Thus, the expression seems to serve to produce the CI $[Y, Y \alpha^{-\frac{1}{n}}]$ with confidence $1-\alpha$. For example, for $\alpha = 1/2 $, we have that $\theta$ will belong to $[Y, \frac{Y}{2^{\frac{1}{n}}}]$. Since $2^{\frac{1}{n}} \to 1$ as $n \to \infty$, with $n$ sufficiently large this means $\theta \in [Y, Y + \epsilon]$ for a very marginal $\epsilon$, with probability $95\%$.
Is this correct? If not, how can one use the derivations presented to form confidence intervals for the real value of $\theta$?
Your derivation seems correct except that you wrote $2^{\frac1n}$ instead of $\left(\frac12\right)^{\frac1n}$. The conclusion is correct, though: The more data you have, the closer the maximum is likely to be to $\theta$, and thus the narrower the interval you need for $95\%$ confidence.