Autoloading Tournament Bracket

Hello everyone, I am here looking for advice on functional possibilities of Godot. I am developing a game that will have tournaments, and these tournaments will contain brackets.

My question is, are there ways to make a bracket that auto populates based on the number of people that have signed up for said tournament? And additionally, is there a way to ‘move through’ the rounds in an automated fashion, automating matchups based on the bracket?

It’s going to be an asynchronous thing, and I store info in an SQLite database if that makes any difference