No. Unless you book all 40 seats in a class II railcar. There are no compartments in class II.
If you travel in a small group we will try to get seats for you next to each other.