As with everything there’s lines you can bend and lines you just don’t cross. Gambling with your clients’ deposits is always going to mean jail time. Timing is also important, for example the US basically has given up on consumer finance protection laws and white collar crime being a thing, so while big companies can still sue you the government will let you get away with anything you like. Go for it!