I think we all have to work through our stuff whether we got to rehab or not.
Rehabs a good circuit breaker - it gives us a time out in a secure safe enviropnment but it's not a cure - you still have to deal with the real world eventually.
If Rehabs not affordable for you, why not consider some of the recovery methods, whether it be 12 step like AA - or not, like SMART or LifeRing or many others...or meeting based, or something like Rational Recovery, with no meetings?
there's a lot to choose from.
D