Not necessarily. You could stretch "online gambling" to mean anything in which probability is remotely involved including the use of RNG to determine damage in pretty much every online game ever, but generally gambling especially from a legal perspective refers more to sports betting and casino-style games where money is at stake as opposed to virtual items.