No. Thailand is not a yellow fever endemic country, and there is no yellow fever requirement for UK tourists travelling direct from the UK to Thailand. The one exception is if your journey includes travel through or arrival from a country with risk of yellow fever transmission.
