Yes, you can cook the ham on the hob for around 2 hours instead. For this you need to know the weight of your joint. It requires 30 minutes cooker per 450g/1lb, plus an additional 30 minutes. Then finish it in the oven as per the recipe to glaze the joint.  If I cook my Christmas ham this way, I tend to work out the total cooking time, then make sure that the boiling time + oven time = the total, so it’s not overcooked.