Cats will not lick people's legs, but they may sometimes lick or rub against a person's legs. This is usually because the cat wants attention or to show their love for their owner. Sometimes cats may do this to their owners because they feel they are being ignored. Cats may also do this on their legs because they feel there is dirt on their bodies that needs cleaning. In this case, the cat may lick its body, including its legs, with its tongue.
In general, cats licking people's legs is not a common behavior, but this does not mean that they will not occur. If you don't like your cat licking or rubbing against your legs, you can try to use voice or body language to remind them not to do this, or you can give them some other kind of close contact, such as patting their head or stroking their back. .