I think I think (yes..) that it is. Because you are creating technology that almost certainly is making the world worse. The amount of joy people get from gambling for fun is outweighed by the amount of grief gambling addiction causes. And even if it isn't, most online casinos are designed in such a way to attract addicts. I'm not very sure of my opinion, so I'd like to hear what everyone else thinks!
Edit: Ops. Should have mentioned that in my part of the world, online gambling is not illegal.
Edit: Ops. Should have mentioned that in my part of the world, online gambling is not illegal.