If you do it in an online casino that is licensed and complies with security requirements, then Crash Gambling is just as legal as any other game you find on the Internet.