Not under seat belt regs. However, there may be a case for carrying an insecure load. Just don't let the third passenger walk about. It will really take an anoraky traffic cop to do something.
I believe if the vehicle was built before a certain year and did not have rear seat belts fitted then the answer is no, not illegal.
As Ward-Minter said.. don't let the passenger/s walk about while driving.