How much faith do you have in whatever holds it to the wall? I'd need several big ass leg bolts into at least a 4x4 to trust that. I use a free standing one. I use a free standing weight rack, this one:
https://titan.fitness/products/x3-series-flat-foot-power-rack
It is very stable, and strong...