Would cooking a leg of lamb for 12 hours be a problem?
It shouldn't be a problem. I would probably use a lower cooking temperature however. Start with a highish temperature of about 180-200C, to bring the meat out of the danger zone quickly, then lower it to 80-90 for a long slow cook. You will probably want to introduce some liquid to the pan to avoid it all drying out.