When can you do this ... is whenever you like and some researchers are fond to trying to model complicated relationships of responses with continuous predictors by splitting the predictor ranges into bins or intervals and thus converting them into categorical predictors. Discussion on this site alone is usually insistent on the difficulties and even dangers of this approach. See e.g. What is the benefit of breaking up a continuous predictor variable? -- in which the title of the question does not indicate all the answers.
When should you do this ... is the larger question and one answer is thus reluctantly and as rarely as possible.
Rounding (in your case to multiples of 5 when the range is from 0 to 1000) as such is usually only a little worrying. In many fields some rounding when reporting continuous variables is conventional, at least historically, and often grows out of general scientific awareness that high resolution of reporting (more decimal places, or more significant figures) is spurious or only trivially informative. Thus in many fields adult age rounded in years, or people's heights rounded in cm or inches, or temperatures rounded to $0.1^\circ$ C are standard even when more precision is possible, and such rounding has not stood in the way of much good statistically-based science. The important detail is whether several distinct levels are discernible in the data. Thus it is natural scientifically and statistically to expect age to be measured in months when looking at growth of children, but in days or even hours when monitoring small babies.
Strong bimodality to the extent that you have almost what Edgeworth and Yule called U-shaped distributions is worrying, but the question remains what you do when you have it. Reducing a U-shaped distributions to extreme categories would however be throwing away information on the grounds that you don't have enough, rather like a poor person giving away all their money on the grounds that they have so little any way (the moral or religious grounds for the latter being outside the scope of this forum).
So the key is that just because a continuous variable is well represented only in terms of a few levels doesn't oblige you to treat it as categorical.
This question is often mixed up with a different one, whether a continuous predictor be entered into a model as it is measured, or via a transformation or via a representation in simple polynomials, splines, orthogonal polynomials or fractional polynomials. What can bite is that with just two extremes well represented it may be quite unclear how that variable's contribution is best measured. As usual, a modeller falls back on linearity in the absence of other information, but sometimes there may be compelling physical (biological, economic, whatever) grounds for something different.
At the extreme this might drive some researchers to a categorical representation, but it seems rare that there is no information on what should happen in the middle of the range. Thus I have encountered British hydrological data where drainage basins (catchments, watersheds) of two different orders of area (in square kilometres) were encountered, very small basins instrumented intensively by university researchers and much larger basins instrumented by the national organisations who manage flooding and water generally. Here the absence of intermediate areas is just a side-effect of how the data were assembled, and there is prior scientific knowledge from many studies that area should almost always be used via its logarithm (that is, it makes no sense to categorise areas, say as small, medium or large).
Skewness is key in this example and complicates matters here and elsewhere, but I think its effects are extra rather than in contradiction to the above.