That would depend on the individual lens, but to make a general statement: no, direct-mount macro lenses that could focus to infinity were generally sharp throughout their focal range. In particular, a macro lens in the 90-105mm range was usually the sharpest lens in a photographer's kit, regardless of the brand (within limits, of course—there have always been $25 specials of dubious origin, whether on eBay, Amazon, or in the black-and-white ads at the backs of photo magazines).
I qualified that somewhat, since there were lenses produced that either required a focusing bellows or that could only focus at all at relatively close distances. Some of them were adaptations of microscope optics; others were highly corrected for apochromaticity (a near-complete absence of chromatic aberration of any kind) and rectilinearity over a relatively small reproduction range (around 1:4 to 4:1), and while that made them spectacular within their range, it would mean they were less than spectacular outside of it. Such lenses generally couldn't be focused farther away than their far-focus limit without deliberate action on the part of the photographer (using short extension tubes rather than bellows, "freelensing", etc.).
That's not to say that no designs were ever compromised for cost and simplicity. In order to maintain correction across a larger-than-normal focus range, some elements of a lens have to be able to move in relation to other elements, even in a unit focus design. (That is, on a lens where focus is achieved by moving the majority of the lens elements, as a group, further away from the film plane/sensor. Unit focus lenses will get physically longer as you focus closer.) And the corrective elements often need to be aspherical (exotic shapes) or have low- or anomalous-dispersion characteristics (exotic materials, like fluorite or expensive-to-produce and hard-to-work-with optical glasses). If the lens was particularly inexpensive, something had to give somewhere, and if the lens was primarily aimed at macro at a time when owning a 50mm "kit lens" was a given, then it is possible that any compromises made were towards the infinity-focus end of the lens's range.