The increase in water pressure would push the switch in making it unusable.
I may have used incorrect terminology. I am looking for a push once for on, push again for off switch. Commercially available dive lights have them so I know they exist and function at depth.The increase in water pressure would push the switch in making it unusable.