reverse function optocoupler
Yes, there are photovoltaic cells driving depletion-mode MOSFETs. They are very slow in comparison to most optocouplers (hundreds of microseconds or milliseconds rather than microseconds or nanoseconds) but they do perform the function you ask about. Here is an IXYS (née Clare) one. 

In relay terms this is called a "Form B" contact.