how to control pose of an armature real time in blender?
There has been some work on using a kinect with blender, you might find some help in that work.

From python you can manipulate an armatures bones with -

myrigbones = bpy.data.objects['metarig'].pose.bones
myrigbones['chest'].rotation_euler = Euler((12.0, 0.0, 0.0), 'XYZ')


Don't think that will work in a game engine controller though - the BL_ArmatureObject available in the game engine has a channels property to access bones.