As long as its just a simple hole like a nail hole, a plug is perfectly fine and safe. I have run plugged tires hard in wheel to wheel racing on the track with no ill effects before.
A plug should not be used to fix cuts and big holes that tear a tires cords.