If you leave Thailand and go to a green/amber country for 10 days, you don't have to do hotel quarantine.
So spending 10 days in India, Nigeria or Iraq will make it safe for you to return to the UK ????
https://www.gov.uk/guidance/red-amber-and-green-list-rules-for-entering-england#red-list