Unless your waitlisted ticket is confirmed, you’re not allowed to board the train. Only when people with confirmed tickets cancel their bookings the waitlisted tickets are promoted to confirmed status in serial order. Unconfirmed waiting list tickets are refunded by Indian Railways. Travelling with unconfirmed waiting list tickets is illegal.