No it's best done trial and error installed in the rifle.
There are "jigs", for example, for the AR, but no jig will be the same as the rifle's holes and pins' location....imho
You would use the jig to do most of the work, but the final tuning is based on your rifle.