PL 530 is not on Loctite's website
Are you sure that the number is correct?
Given their products with similar numbers, your tube of 530 is likely an adhesive, not a sealant. I would not use it except as a last resort in an emergency. I'd use a tube of sealant instead.
A typical bathtub holds around 40 gallons, which equates to 8 pints of water, and since a pints a pound the world around, that means 320 pounds of water+you in the tub plus whatever part of you is above the waterline.
If we estimate the surface area of the bottom of the tub at approximately 4' by 1.5' that's about 6 square feet or 864 square inches.
That means that at most the pounds per square inch on the bottom of the tub will be about .4 - and that's ignoring that part of the weight will be carried by the sides of the tub around to the rim.
Then there's the mortar. 1 cubic inch of mortar comes in at about .08 pounds and 3 of those vertically means .24 pounds bringing the total pounds per square inch on the foam, maximum, to about .64.
So the concern here is - will the foam take the weight - and the only way to find out is to determine if the foam is able to withstand pressure of .64 pounds per square inch without compressing. And also - will the foam's strength deteriorate over time.
These are answers you'll have to find out from the manufacturer. (Although you can test it yourself - use weigh the head of a hammer resting on a scale while the handle rests off the scale and that is probably > 1 pound... then rest it on the foam) But if the foam is rigid enough to take that kind of weight, you'll probably be ok.
Best Answer
I highly doubt that spray foam will provide much support. In addition to the tub itself, water is heavy - ~ 8 lbs./gallon - and you could easily have 50 gallons, > 400 lbs. of water in a bathtub.
Foam is great for insulation (because of the trapped air), and depending on the type of usage, can be very good for filling cracks. But unless it were specifically engineered to do so, I would not expect any consumer foam to be able to support any significant weight. If you were to fix the crack properly first (in the case of a bathtub (or anything with a liquid) foam would not normally be enough to seal the crack by itself), I would make sure there was plenty of support to prevent future movement == future cracks. Foam, in this context, is filler and not support.