If you have social anxiety or some other disability you have the right to receive a reasonable accommodation such as working from home. The requirement is that you can still perform all major job tasks.
Just tell your boss that you're requesting to work from home as an accomodation un the Americans with Disabilities Act. Have your doctor write a letter stating that you require the accomodation.