Yeah:
object oPCDummy = GetObjectByTag("MEDBAY_PC", 0);
object oBedWP = GetObjectByTag("InvisibleLocationMarker", 0);
location lBed = GetLocation(oBedWP);
int nPCApp = GetAppearanceType(GetEnteringObject());
effect eDisguise = EffectDisguise(nPCApp);
oPCDummy = CreateObject(OBJECT_TYPE_CREATURE, "c_medbaypc", lBed);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eDisguise, oPCDummy);
AssignCommand(oPCDummy, ActionPlayAnimation(ANIMATION_LOOPING_DEAD_PRONE, 1.0, (-1.0)));