A unit root test contains a mathematical model with its own set parameters.
At first glance, it should be possible to compute parameter estimates and their uncertainties using Bayesian methods. I’m not sure a unit root test would provide new information. I guess that depends on the mathematical model you used for the initial parameter estimates.