You cannot directly replace the plastic window with a glass one. There are aftermarket tops with glass windows that fit the fold area of the older Boxsters. The glass windows is smaller than the plastic window, and, as mentioned, seems to restrict access to the engine compartment.
http://www.autotopsdirect.com/Boxster-Glass-Windows-s/97.htm