There are specifics to every situation that makes me say this is not a great plan to apply always.

However, in the specific example you gave, I'd do this in a tournament all the time. bet top pair. On a scary board, if you are sure you have the best hand, but it is vulnerable, overbet top pair.

But limping in with a much wider array of hands may not be best.