Yes, but you better not waste time, or you could starve first.
The ways out that I have found:
-Science ID card. Only found this once, EVER, in a fairly recent experimental. Don’t expect one, but it happens. Found it in the observation room, in that top right little area with the dissector, in one of the lockers.
-Electric jackhammer. Need to get the right book (there are several), need to get electronics to 5, and I think some fabrication and/or mechanics. Also essentially requires the toolset CBM.
-Regular jackhammer… maybe. I’ve found one in a lab a couple of times, but I’ve never found gas for it, and I don’t think there is sufficient stuff to make gas in the labs, so I don’t think this one works.
-In theory, you could survive long enough for a brute to evolve to a hulk, then get it to follow you upstairs and break you out… but zombies don’t currently follow you across z-levels (they used to and probably will again)
-teleporter. yay, easy win. If you don’t find one, you can get one by disarming a teleport pad… which takes several ranks of trapping skill. Trapping books to occasionally spawn in labs, and you can also make and disarm your own traps… but that is time consuming.
-electrohack - see electric jackhammer, but I think it might have fewer requirements but rarer book (never bothered with it myself)
-sewer escape - sometimes, there are sewers connecting to the lab.
-I’ve never gotten a teleport or phasing CBM in a lab, but I suppose it COULD happen. Do biooperators ever drop/burtcher either of those? Pretty sure scientists don’t…
-In theory, you could make a small “car” with an electric engine and drive it into the door or a wall? Never tried, but it should work.
Those are the ones I know of… probably more possible.