SOOO ITCHY IS BENADRYL OK?

My legs are itching like CRAZY, keeping me up! Is Benadryl okay to take for the itching? It feels like I’m getting hives from a mosquito bite I got.