Absolutely not, no matter if it works or not.
Guy should of had bricks on the truck for any water heater install.
Just you questioning it, you know it wasn't kosher.
Codes in my area require materials to be used of solid structure (brick or metal shimming) that is incapable of being affected by vibration/water/heat/disentegration.
Does your code specifically call for bricks or metal? I've been through the IPC and the Nat mech code and I can't find anything that says he can't use pvc. I don't think it would be my choice (cause I never thought of it) but I can't find anything against it. As for the ability of 4 couplings to take the weight of the tank, I'd bet just 1 could take it placed on end.