Is swtich mode power supply (SMPS) safely isolated?

Any use ? The problem will be that any third party inspection is going to look for approved equipment not home made , so he doesn’t have assess it and create personal liability for himself. ( inCourt -“why did you approve this “ A “ it’s marked as suitable and meeting approved standards”
Verses.. A” I considered it was safe “
Which is followed by “ I see , what is your experience with x,y,z..are you qualified in designing ABC .”)

Same would apply to yourself , if you kill anyone ... you are responsible for the design and test of whatever you put in, and need to have the correct ( provable ) expertise . There may also be an issue giving advice on forums on such matters , unsure.

https://static1.squarespace.com/static/5544eff8e4b067ba8b4230e6/t/579a17823e00bedf2acb83b2/1469716355553/Electrical-WIRING-SWIMMING-POOLS.pdf