Short answer - yes you can. You just need to learn how to count sugar points and adjust your preboil volumes and post boil volumes.
Longer answer - every pound of extract and grain has a potential amount (points) of sugar that it will add to your wort. Recipes use these potentials when estimating preboil OGs by estimating the number of points that would be extracted in a homebrewers setup and then dividing those points by the target preboil volume. As sugars do not boil away, the final OG will be the points / post boil volume. Your realized OG can differ from the recipe for a number of reasons including not extracting the targeted amount of sugars (mash and lauter efficiency) and/or not ending up with the final post boil wort volume. If you want to hit the OG every time, you will need to understand your efficiency relative to the recipe's and adjust your pounds accordingly to end up with same amount of sugars. You can also adjust the preboil points by taking a preboil gravity reading, determining the points and making up shortages with DME or pouring off a little wort and replacing with water. Note if you boil rate differs from the recipe you will miss your OG at the end of the boil, so track you boil rate, adjust the intensity, and like preboil, you can always add sterile water after the boil. While this may sound complicated it really is not. You just need to refractometer and decent volume measurement accuracy. I believe there are online calculators than can help you with the calculations.