Should be easy:
pilot switchMove "Animation"
pilot setpos ["the abciss of the bed's position - number","the ordinate of the bed's position - number", "the bed's height - number"]
Notice that "Animation" should be one of the "dead" (without blood) animations available in OFP... It will look nice.