Does anyone know if it's possible to buy the ticket inside the train ?
There are often ticket machines on the train. But you can buy tickets from any Relax shop at the station (or other newsagent type shop there). You don't need to queue up to get a ticket from the main ticket office (in fact from memory those ticket windows don't even sell the ticket you need).