Bulldozers could easily put a dirt perimeter arounfg the town.
I’ve seen wheat farmers disk up a perimeter around their fields near harvest time.
In the sort of winds involved, embers can travel hundreds of feet. So, that’d have to be quite a perimeter. Probably would be better to plant said perimeter with something like zoysia and keep it watered and mowed. Would make a good recreational area.