Sounds like you could go work for your former colleagues.. plenty of opportunity there. What is stopping you?
With respect to your self esteem etc... Journaling might help you figure things out. I would also look into therapy as well especially for the gambling if you think it might be an addiction. Whatever you learn there will help you in all areas of your life and startups.