Thankfully, Thailand seems to have a crematorium in almost every reasonable sized temple complex, as typically may be found in or around small towns.
Whilst there is a report of one collapsing, I'd hope most would be better built. There is enough evidence around to show that it's possible to build incinerators that operate 24-7.