As long as it's straight with a legal tyre.
Note that, unless the tyre and wheel size are identical to that already on the axke, your legal maximum speed will still be 50mph whilst using it, same as a space saver. And of course it’s illegal to mix tyre sizes and treads (and some would say tread depth) on an axle long term (ie, not aa a short term spare).