I think this is impossible. If a bank is illegal in doing so, they have no right to ask employees not to invest, and the investment is not illegal, at least not now. Investing in bitcoin is inherently anonymous and banks know how they can prove they infringe on your privacy if they know it.