Yes, variously over the years, there have been female ratchet wrenches produced. The name is pass-through socket set if you're trying to search for them.
The idea is that the male driven socket is tubular, removing the need for deep well, standard and shallow sockets. Plus the drive head is closer to the nut putting more twisting force on it instead of tipping off like a deep well socket will do when trying to turn it.
Originally, these were produced as car alignment tools through companies like Snap-On as some of the link bolts were essentially threaded rods that could be longer than available deep well sockets, likewise some of the shock absorbers used long threaded rod ends.
They've also been available in construction where threaded rod is used and you want a faster, more sure way of installing nuts than using a wrench.
One example of the technology.
Note that second from left, top row is a locking male square drive adapter for standard square drive sockets.
Another, Craftsman Max Axess with fits-all spline drive (hex, square, 12-point, spline, torx). You can get the matching power ratchet from them.
They don't tend to catch on for general use as you can't just pick up a standard ratchet, tee handle, L-bar, torque wrench, speed driver or extension and use them, plus finding an air ratchet to drive them is impossible unless provided by the manufacturer and you're just not going to be using them on an impact wrench.