I'd go with "yes, but"
There are two tricky parts: You need a large, gliding seal, and you need to build conduits for cables, pipes, etc. I'm not a mechanical engineer, so maybe I misrepresent a few things.
Google for largest axial face seal found this article about a seal at 390mm diameter .. that's not much. Admittedly, thiy is for a compressor where the pressure differential is far higher than what you'd find in a space station, so there may be hope. The challenges in building seals are in creating and aligning to very, very smooth surfaces. for a large seal hoop this means a large lathe and probably many headaches in transporting and installing. But I'd say it's doable if someone throws enough money at the problem.
The second challenge are conduits. We know how to transport fluids between rotating elemtents. The conduit would always need to be in the middle of the airlock, where it 'costs the most space (imagine the smallest circle you can fit a 1x1m cupboard through. now imagine the smallest circle you can fit said cupboard through if the center is blocked), compounding the problems with seal described above. You will also build your conduits once, retrofitting for more connections once they are built will be hard.
For electrical power, brush contacts are available, for signal transmission you'd probably use something wireless.
Why do I talk so much about conduits? because you will want to move air, water, sewage, fuel and a host of of stuff from on segment to the other.
In summary, I think we can but we will have a hard time to interconnct the parts of the station in a meaningful way.