No, becasue the whitelist is related on the server request, I guess you are making requests via javascript.

You can manage the Access-Control-Allow-Origin from the "header" of PHP (is not...