In upstream kernel yes (I think? Need to read more code....). In Openwrt I think not.
One would need to have a look at the following DSA drivers i think?
Other than that It was also asked again in the realtek support thread by me and I had a look at the code nothing no. IMO be happy with spanning tree haha. If a developer is willing to do the work there is some code there and one of the developers said they had done some work in one of their git branches.