Yes it is possible to experience leg pain during anxiety. It is most likely due to muscle tension in response to anxiety. Fight or fly mechanism mediated your sympathetic nervous system.
It can be very severe to moderate and may require painkillers. No it is not dangerous but try to calm your self. If you think that it is getting severe then you may need counseling.