Yes - it can be accomplished with just with a simple flag.
You can find more information in the following link.
https://docs.flagsmith.com/guides-and-examples/flag-lifecycle#kill-switches