Toeing the line? There is no underlying risk to any of that except the bet itself. Of course it is gambling.
Not in the eyes of law (in many or most jurisdictions that regulate gambling).