Maybe it's different where you live, but in my experience (norcal/SF bay area) it's been rather trivial to find rooms to rent by the month when needed.
Especially if you're willing to take a room at least a bit outside of the hip downtown spots.
Maybe find a room somewhere on the commute route that's substantially closer to work, but in an affordable neighborhood? Is there a college town on the route where spare rooms in homes are often rented to people your age for some extra income?
Not all shared housing situations are awful. I wouldn't let some pathologically bad experience eliminate the option altogether. Just don't get locked into a long-term lease and you can always just roll the dice again next month. Try be more flexible.