With SketchUp 2023, you can apply a fill to the dimension text box and then make that fill transparent.
However, if the dimension text is anywhere over the dimension line, the dimension line will be visible behind the dimension text.
( I've only skimmed through the posts so I might have not understood the issue properly or repeated what someone else has said )