No. Your program can be built around the equipment you have access to. However, gym access is encouraged if your goal is to build a substantial amount of muscle, since you’ll have more equipment and opportunities to progressively increase resistance.