I have arrived in the UK and am required to self-isolate for 10 days. Can I leave the UK again before the end of this period?

Yes, you can. If you are required to quarantine, or self-isolate, on your arrival in the UK, you must remain in isolation for that whole period, unless it is to travel in order to leave the UK. In that case, you may travel but you must leave the UK directly.