You can, but it’s not visible to the hypervisor (it’s an OS concept) so you have to publish that metric from an agent on the machine. Then you can use it for autoscaling.
The number of switching tasks may be very high for a number of reasons, including a very large number of threads which do very small chunk of work each and yield.