Is it possible to operate an autoclave with demineralized water connection and drain in a GMP class B cleanroom? Or alternatively a 40 l table-top unit with 2 liter fresh and 2 liter waste water tank? 

Yes, it is possible in principle.