Yes! 

However, you will need first to update the name on your Green Card. Once complete, you will bring your updated Green Card AND foreign passport to Social Security to commence the name change process.