The cover of the current paperback edition says something like “The classic novel of libertarian revolution.”
Ken MacLeod writes socialist space opera.
Depends on how telepathy works in that universe. In Damon Knight’s classic “Rule Golden,” aliens infect humans with a form of telepathy that causes any aggressor to feel the effects of aggressive violence – i.e., hit a guy and you’ll feel the blow yourself; shoot a guy and you’ll die. That might achieve peace, if not love.
They may not have been revolutionaries with an agenda, but they lived in such an orderly, regimented universe that their attempts to live outside the regulated environs that they were de facto revolutionaries whether they had an agenda or not.
The last few books of the Sten series, when Sten and friends turn against the Eternal Emperor. Not socialists ( well, some were; they were a diverse lot ), but revolutionaries, and they were the good guys.
…seems to me that since the 60s, anyway (and maybe longer), a book like the OP is wondering about would have no hope of gaining any sizable audience. Readers who identified with the socialist/revolutionary angle wouldn’t care for the military angle, and vice versa.
If I can quibble, I wouldn’t call the Stainless Steel Rat books or the Callahan’s books military SF, much as I like them. I’d say military SF would be more like stuff by David Weber or H. Jay Riker and unfortunately, I’ve never been able to get into it. “Unfortunately” because a good friend of mine writes military SF for a living.
Would there be a market for books where socialists/revolutionaries are the good guys? If you think there would be, let me know and I’ll pass it on to my favorite hack, although he’s a hard-core conservative and I don’t know if he’d be willing to write it.