for etickets, you can do so online while booking the ticket itself. I am not sure if you can do once the ticket is booked.
for PRS tickets, I think you can do so at booking or even after by submitting a written application.
I am not sure how i-tickets (booked on irctc but couriered to you and look like actual PRS tickets) are handled