Not exactly. The door is coming down WITH gravity - the window is going up against gravity. The door is running on an open exposed track, the window is running in an enclosed weatherstrip, which gets stiff and freezes. The window NEEDS to be able to be cranked up against a resistance for security reasons.
Also, a garage door has an emergency closing mechanism - you can unhitch the door from the closer to close the door if and when the closer fails. The window has no such mechanism.
Now, if you want to install a "light curtain" like is used in industrial applications, and has been used in a simplified form on garage doors, all you need to worry about is keeping the transmitters and recievers clean.
Much more viable solution, but still not nearly as simple and effective as a simple "lift to raise" switch.
The switch on the old "AeroScare" was very often accidentally activated by bumping it with your leg when shifting position in the seat. The switches on the '96 Mystique a a huge improvement, but not foolproof. Would be SO simple to make them safe.