Is there any way to change the sharing access setting of a document to "Anyone with a link" ?
No. This option is not feasible via the Google Docs API.