Welcome!
You can check out the Rethinking notebook covering B-splines. Also, don’t just automatically assume that simple models will not appropriately convey uncertainty in ways you might want. For example, see this.