Yes, of course, but only if you use non-comedogenic make-up and remove it at night.
Some advantages of hiding acne with make-up:
It's a good way to avoid suffering from the gaze of others and even from your own reflection.
When we wear make-up, we tend to touch our pimples less, so there is less risk of scarring from picking at pimples.
By choosing make-up that contains sun protection, we protect pimples from the sun and avoid the pigmented scars that can appear on olive and dark skin tones.