Yes, alternate hub-driving & case-driving LP turbines on the
GE UDF demonstrator engines of the 1980's. These were directly coupled to contra-rotating open fan blades.
No reason in theory why it shouldn't work in the compressor, although the cure seems worse than the disease.