Mazda recommends not (at least back in the day) but I think that was broad policy not technical issue.
Some corners of the internet say the layshaft might not be lubricated without the input shaft spinning but given that many (including me) do tow, I've never heard of failure. It could be that normal sloshing around provides enough lubrication.