This is not recommended. The train conductor can fine you. Seats with missing passengers can be marked as no-shows, and the ticket can be resold to other passengers.