Of course. It's possible in any language technically. All PHP does (in terms of websites) is generate custom HTML for the browser (in a basic sense).