It is perfectly legal. I used to carry one on my back in a gun slip. Not the greatest idea TBH, it could have caused me increased risk of injury if I fell off.
These days I'd probably take the stock off and put it in a short case strapped behind the top box.