There should not be any problem with getting a socket onto the bolt/stud of the exhaust manifolds.

If you are trying to remove the head bolts, you need to remove the exhaust manifold first.