Does is spray foam? Sure. Is it the foam pattern you're looking for? No.
I tried these on a few cleaners. It doesn't spray in a wide pattern at all. It is super narrow. I wanted a sprayer top that has a wide pattern to spray foam onto my wheels and tires. It takes 2-3 times more squeezes of the trigger to cover the same area compared the black nozzles. My hand was cramped up after spraying one wheel. Did it foam my wheel and tire? Sure. For how many times you have to spray this to get a coated foam surface it is not worth it.
If you want something that will foam and make wheel cleaning easier, then just get a foam sprayer.
Would I buy these again? No. Did they foam the solution in my bottle? Sure. Not worth the amount of work.