Exhaust Legality Help

Hi I’m trying to install a exhaust system where I can switch between the back exhaust and the sides but a few shops think it can work and a few think may be illegal

I know hellcats and stuff have them from the factory and it’s a literal valve system and the one I wanted to install doesn’t make it louder it just lets me pick between the side exhaust back or both