When a jet engine burns fuel, some energy goes into turning the fan, and some energy goes into creating thrust.
At low-mach, the fuel burn is primarily producing torque which turns the fan. This fan could be turned by electricity.
At high-mach, the fuel burn is primarily producing pure thrust, and the fan portion hurts the engine's performance.
Supersonic turbofans are a compromise that have to produce thrust from takeoff through to high speed. I may be incorrect, but I don't believe we have ever built a ducted fan which can use pure torque to generate supersonic thrust, although I guess I don't see why it wouldn't be theoretically possible. We can put megawatts of energy into a fast-moving flow using thermal energy and a brayton cycle. In order to put megawatts of energy into fast-moving flow using rotors would require a totally new design - nothing like the supersonic turbofans currently in production.