Yes, you can restrict a flow to a maximum concurrency limit of 1 through the Prefect UI, without making code changes. Prefect allows you to set concurrency limits at the work pool, work queue, or deployment level. This can be done via the Prefect server UI or Prefect Cloud interface.
Here's a link to the relevant documentation for more details:
Prefect Concurrency Limits.