That actually sounds like normal behavior for any ghost-type, especially one that may have had a misdreavus or shuppet father. Duskull especially feed off fear and surprise, so there’s also the possibility that he’s attempting to get a between-meal snack. You may want to increase the amount of kibble he receives to tide him over from one meal to the next or otherwise work hard to establish the fact that you will, in truth, take care of all his needs (which will hopefully discourage him from taking care of itself).
However, in some varieties of duskull, this is actually their form of affection, so if the above doesn’t work, show him methods of affection you do approve of and use positive reinforcement (in the form of treats—duskull typically like sweets) whenever he engages in them.