is it possible to access getWixSelector on the backend?
What do you mean? Do you mean to use $w in backend code? That would not be possible. You can send in an page object to your backend code and alter or modify that object and then return it to the page and render it.