It’s legal to gamble on bicycle races, but not ostrich or camel racing.
In recent years, several efforts have been made to legalize camel racing and ostrich racing in New Mexico, but to no avail. Those bills were defeated, but the legislature recently allowed gambling on bicycle races.