Unless there is anything in the aircraft flight manual to say otherwise then you wouldn't be breaking the law.
However, if you are flying a club aircraft there may well be a requirement in the pilots order book or equivalent document that only instructors or pilots approved by the club fly from the right hand seat, in which case you could have a problem with the insurance company if anything went wrong.