A raffle is a gambling competition in which people obtain numbered tickets, each ticket having the chance of winning a prize. At a set time, the winners are drawn at random from a container holding a copy of every number. The drawn tickets are checked against a collection of prizes with numbers attached to them, and the holder of the ticket wins the prize.
Yes this practice is considered as gambling. In general any practice which involves a prize achieved from the property of the participants is gambling.