Can I travel with my girlfriend / boyfriend in the same cabin?
Yes, you can. Mixed-gender is not a problem on trains in Thailand.
If you book a single seat in a VIP compartment with double occupancy, you will be placed with a person of the same gender.
And 'ladies only' carriages are for ladies only.