Yes you can use Nair on pubic hair.
However I would recommend getting the type of Nair that is made for use on sensitive areas such as your pubic area.
If you use regular Nair on your pubic hair then there might be a burning sensation especially if you have very sensitive skin.
I used the Nair hair removal for sensitive areas and it never caused any burning sensation or skin rashes.
Sometimes just shaving the pubic hair can work but that can also become itchy.
I hate having pubic hair in my private area as it gets dirty.
So I sometimes shave it and then sometimes I will use the Nair hair remover to get rid of it.