Hi SH1002,
Yes, there are no time restrictions for you working remotely outside of the UK, while still physically in the UK.
You would still be taxable in the UK on this overseas income and would declare it in a Self Assessment tax return.
If you are physically in the UAE at the time of undertaking the UAE work, you would need to review the guidance on residency and take the residencey test at RDR3.
RDR3 Statutory Residence Test
Thank you.