Over the reals, the function $f$ is injective. Its inverse function does exist therefore.
1.)
A simple usual way could be Lagrange inversion.
2.)
For closed forms, we have the following.
$$f(\theta)=\frac{\theta-\sin(\theta)\cos(\theta)}{a-\frac{1}{2}\sin(2a)}$$
Let $y$ a real variable.
$$\frac{\theta-\sin(\theta)\cos(\theta)}{a-\frac{1}{2}\sin(2a)}=y$$
As usual for calculating the inverse function in elementary algebra, we want to determine $\theta$ in dependence of $y$.
$a-\frac{1}{2}\sin(2a)\to c$:
$$\frac{\theta-\sin(\theta)\cos(\theta)}{c}=y$$
$$\frac{\theta-\frac{-i}{2}(e^{\theta i}-e^{-\theta i})\cdot\frac{1}{2}(e^{\theta i}-e^{-\theta i})}{c}=y$$
$$\frac{\left(e^{\theta i}\right)^4i}{4c}+\theta\left(e^{\theta i}\right)^2-y\left(e^{\theta i}\right)^2-\frac{i}{4c}=0$$
We see, this is an irreducible polynomial equation involving more than one algebraically independent monomials ($\theta,e^{\theta i}$). We therefore don't know how to solve the equation by rearranging for $\theta$ by applying only finite numbers of only elementary operations (means elementary functions).
$\theta\to\frac{x}{i}$:
$$1+4cx\left(e^x\right)^2-4cyi\left(e^x\right)^2-\left(e^x\right)^4=0$$
Now we see, the equation seems to be not in a form to solve it in terms of Lambert W or Generalized Lambert W of Mező/Baricz.
Only for the case that $c\neq 0$ is algebraic:
For algebraic $y$, this is an irreducible algebraic equation involving both $x,e^x$. Assuming Schanuel's conjecture is true, the theorem of Lin 1983 implies that such kind of equations don't have solutions except $0$ that are elementary numbers. This means that the inverse function of the function $f$ cannot be an elmentary function if $c\neq 0$ is algebraic.
3.)
As already said by others, this is a kind of Kepler's equation. See Inverse of $f(x)=\sin(x)+x$ and i.a. my answer there.
Already Liouville wrote that he proved that the inverse function of the function in Kepler's equation isn't an elementary function.