Yes and no.
It depends what you're trying to use these variables for really. You can't directly reference your javascript variables in any server side language because javascript is a client side language, it is interpreted and executed by the user's browser, where as languages like ASP and PHP are interpreted and executed by the server that the script is being requested from.
However, with the aide of AJAX you could send the variables through a backend form post to a simple php or asp script which can then read the variables using, in asp for example, the request object. You would then use the variables or manipulate them for whatever purpose you are intending, and then return some sort of result back to the javascript that made the request.