You can do this with quite alot of flying birds actually. They have 'gyro's' in their brains that make them hold their head the same way no matter which way the body moves so they can keep track of themselves in flight.