In theory, yes, but in practice, the compounded (NOT recommended/licensed in UK) are not the subject of extensive trials and quality of product varies from pharma to pharma, etc, so you cannot be sure of what and how much you are taking, which is potentiallly dangerous.
On the other hand the so called regulated produtcs that are licensed in the UK and elsewhere for that matter (the ones produced and financed by the big pharma companies) are in theory more reliable because they were the subjtec of extensive trials and have been tested for quality, but in practice we all know that this is not a clean business where things are done according to laws and rules.
So in the end, it's all about trial and error, cost/benefit ratio and FREE CHOICE.