I'm sure it can all be done. I've held a job down for almost the whole of my life, though I was undiagnosed until very recently. Naturally it's been very stressful at times, and even now when I should be used to the world of work, I see it as something that at best pushes me to one side of my life, but it's tolerable. As for friends, I've never been completely friendless, though it's been dangerously near to that from time to time.
There's a saying....if you don't get what you want, it's because you didn't want it enough. Seems very true of me - once I've made up my mind that I must achieve something, I usually get there.