Yes, you can use a boneless ham. However, bone-in hams tend to have more flavour and are juicier. If you opt for a boneless ham, adjust the cooking time accordingly, as it may cook faster.