Yes and no. Some states in America consider this to be pari-mutuel betting, so it falls into a grey area that makes it a legal way to gamble.

0/0