There is a liquid you can buy that keeps children from thumbsucking when you put it on their thumbs. Maybe you could try it with your hands?
when i was little my friend had a problem like that and her mom put some stuff on her fingernails that either made them really hard or taste really bad :/